Skip to content

Commit

Permalink
Do not eager load in tests
Browse files Browse the repository at this point in the history
Fixes an issue with turbo-rails and Rails 7.1
  • Loading branch information
tvdeyen committed Jan 11, 2024
1 parent 2c8b15e commit e617154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Eager loading loads your whole application. When running a single test locally,
# this probably isn't necessary. It's a good idea to do in a continuous integration
# system, or in some way before deploying your code.
config.eager_load = ENV["CI"].present?
config.eager_load = false

# Configure public file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true
Expand Down

0 comments on commit e617154

Please sign in to comment.