Wrap test execution for better isolation

This commit is contained in:
Tom Hughes 2022-02-17 19:30:19 +00:00
parent 890569fba7
commit fbd45a2ea0

View file

@ -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`.