Order configuration consistently in test and production environments

This commit is contained in:
Tom Hughes 2024-04-21 19:03:07 +01:00
parent afc3460676
commit 29bd8c54ef

View file

@ -11,9 +11,6 @@ Rails.application.configure do
# While tests run files are not watched, reloading is not necessary.
config.enable_reloading = false
# disable logging in tests, for speed increases. Set to :info to bring back logging
config.log_level = :warn
# 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
@ -40,6 +37,9 @@ Rails.application.configure do
# Store uploaded files on the local file system in a temporary directory.
config.active_storage.service = :test
# Disable logging in tests, for speed increases. Set to :info to bring back logging
config.log_level = :warn
config.action_mailer.perform_caching = false
# Tell Action Mailer not to deliver emails to the real world.