# While tests run files are not watched, reloading is not necessary.
config.enable_reloading = false
# While tests run files are not watched, reloading is not necessary.
config.enable_reloading = false
# Eager loading loads your entire application. When running a single test locally,
# this is usually not necessary, and can slow down your test suite. However, it's
# recommended that you enable it in continuous integration systems to ensure eager
# Eager loading loads your entire application. When running a single test locally,
# this is usually not necessary, and can slow down your test suite. However, it's
# recommended that you enable it in continuous integration systems to ensure eager
config.eager_load = ENV["CI"].present?
# Configure public file server for tests with Cache-Control for performance.
config.eager_load = ENV["CI"].present?
# Configure public file server for tests with Cache-Control for performance.
- config.public_file_server.enabled = true
- config.public_file_server.headers = {
- "Cache-Control" => "public, max-age=#{1.hour.to_i}"
- }
+ config.public_file_server.headers = { "Cache-Control" => "public, max-age=#{1.hour.to_i}" }
config.action_dispatch.show_exceptions = :rescuable
# Disable request forgery protection in test environment.
config.action_dispatch.show_exceptions = :rescuable
# Disable request forgery protection in test environment.
# Store uploaded files on the local file system in a temporary directory.
config.active_storage.service = :test
# Store uploaded files on the local file system in a temporary directory.
config.active_storage.service = :test
config.action_mailer.perform_caching = false
# Tell Action Mailer not to deliver emails to the real world.
config.action_mailer.perform_caching = false
# Tell Action Mailer not to deliver emails to the real world.
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true
config.action_controller.raise_on_missing_callback_actions = true
# Use the test adapter for ActiveJob during testing.
config.action_controller.raise_on_missing_callback_actions = true
# Use the test adapter for ActiveJob during testing.