eager load in test
This commit is contained in:
@@ -16,7 +16,7 @@ Rails.application.configure do
|
|||||||
# Eager loading loads your whole application. When running a single test locally,
|
# 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
|
# 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.
|
# 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.
|
# Configure public file server for tests with Cache-Control for performance.
|
||||||
config.public_file_server.enabled = true
|
config.public_file_server.enabled = true
|
||||||
|
|||||||
Reference in New Issue
Block a user