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 f00ec78 commit c44c923Copy full SHA for c44c923
lib/rspec/rails/fixture_support.rb
@@ -13,7 +13,7 @@ module FixtureSupport
13
# Monkey patched to avoid collisions with 'let(:name)' in Rails 6.1 and after
14
# and let(:method_name) before Rails 6.1.
15
def run_in_transaction?
16
- use_transactional_tests && !self.class.uses_transaction?(@example)
+ use_transactional_tests && !self.class.uses_transaction?(self)
17
end
18
19
included do
0 commit comments