From cca2ddb0b8f1ec4259717c5fb30067df96e92ede Mon Sep 17 00:00:00 2001 From: Caitlin Date: Fri, 29 Sep 2023 12:14:28 -0400 Subject: [PATCH] new framework defaults - enable activesupport executor in test env --- config/initializers/new_framework_defaults_7_0.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index abda1be14..760ad9f80 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -32,13 +32,13 @@ # Don't override ActiveSupport::TimeWithZone.name and use the default Ruby # implementation. -# Rails.application.config.active_support.remove_deprecated_time_with_zone_name = true +Rails.application.config.active_support.remove_deprecated_time_with_zone_name = true # Calls `Rails.application.executor.wrap` around test cases. # This makes test cases behave closer to an actual request or job. # Several features that are normally disabled in test, such as Active Record query cache # and asynchronous queries will then be enabled. -# Rails.application.config.active_support.executor_around_test_case = true +Rails.application.config.active_support.executor_around_test_case = true # Set both the `:open_timeout` and `:read_timeout` values for `:smtp` delivery method. # Rails.application.config.action_mailer.smtp_timeout = 5