eager load in test

This commit is contained in:
Pete Matsyburka committed 2024-05-31 13:19:33 +03:00
1 parent 7080e8ea33
commit df8e79683a
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ Rails.application.configure do
# 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 = true
# Configure public file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true