From fbd45a2ea085cd8a7c234158ddd4910539595b7d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 17 Feb 2022 19:30:19 +0000 Subject: [PATCH] Wrap test execution for better isolation --- config/initializers/new_framework_defaults_7_0.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index a67a2c862..ccf2fcd11 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -45,7 +45,7 @@ Rails.application.config.active_support.cache_format_version = 7.0 # 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 # Define the isolation level of most of Rails internal state. # If you use a fiber based server or job processor, you should set it to `:fiber`. -- 2.45.1