From 29bd8c54efc18a087ae0cb6506a4428767af742b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 21 Apr 2024 19:03:07 +0100 Subject: [PATCH] Order configuration consistently in test and production environments --- config/environments/test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index 506ccf643..451eecc50 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -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. -- 2.45.1