Call Rails executor wrap around test cases

Not sure whether this affects us since we use RSpec; in any case, if it
affects us, it seems like a good idea, although we'll have to watch
whether some tests start failing more often.
This commit is contained in:
Javi Martín
2024-03-28 00:38:08 +01:00
parent 87fa2b1fbb
commit 855cd609ad

View File

@@ -38,7 +38,7 @@ Rails.application.config.active_support.remove_deprecated_time_with_zone_name =
# 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