Module: TestProf::BeforeAll::Isolator

Defined in:
lib/test_prof/before_all/isolator.rb

Overview

Disable Isolator within before_all blocks

Instance Method Summary collapse

Instance Method Details

#begin_transactionObject



7
8
9
# File 'lib/test_prof/before_all/isolator.rb', line 7

def begin_transaction(*)
  ::Isolator.disable { super }
end

#within_transactionObject



11
12
13
# File 'lib/test_prof/before_all/isolator.rb', line 11

def within_transaction(*)
  ::Isolator.disable { super }
end