diff --git a/core/lib/spree/testing_support/dummy_app.rb b/core/lib/spree/testing_support/dummy_app.rb index 7e2e7707f2..d703397b9e 100644 --- a/core/lib/spree/testing_support/dummy_app.rb +++ b/core/lib/spree/testing_support/dummy_app.rb @@ -84,7 +84,7 @@ class Application < ::Rails::Application config.log_level = :debug # Improve test suite performance: - config.eager_load = false + config.eager_load = ENV['CI'].present? config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } config.cache_store = :memory_store