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:
@@ -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.
|
# 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
|
# Several features that are normally disabled in test, such as Active Record query cache
|
||||||
# and asynchronous queries will then be enabled.
|
# 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.
|
# Set both the `:open_timeout` and `:read_timeout` values for `:smtp` delivery method.
|
||||||
# Rails.application.config.action_mailer.smtp_timeout = 5
|
# Rails.application.config.action_mailer.smtp_timeout = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user