We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b430027 commit f35b3a6Copy full SHA for f35b3a6
lib/rspec/rails/example/rails_example_group.rb
@@ -19,7 +19,11 @@ module RailsExampleGroup
19
include ActiveSupport::ExecutionContext::TestHelper
20
included do |_other|
21
around do |example|
22
- ::Rails.application.executor.perform { example.call }
+ if ::Rails.configuration.active_support.executor_around_test_case
23
+ ::Rails.application.executor.perform { example.call }
24
+ else
25
+ example.call
26
+ end
27
end
28
29
0 commit comments