module RSpec::Rails::FixtureSupport
def run_in_transaction?
- Private: - prevent ActiveSupport::TestFixtures to start a DB transaction.
def run_in_transaction? current_example_name = (RSpec.current_example && RSpec.current_example.metadata[:description]) use_transactional_tests && !self.class.uses_transaction?(current_example_name) end