module TestProf::BeforeAll::Isolator

Disable Isolator within before_all blocks

Public Instance Methods

begin_transaction(*) click to toggle source
Calls superclass method
# File lib/test_prof/before_all/isolator.rb, line 7
def begin_transaction(*)
  ::Isolator.transactions_threshold += 1
  super
end
rollback_transaction(*) click to toggle source
Calls superclass method
# File lib/test_prof/before_all/isolator.rb, line 12
def rollback_transaction(*)
  super
  ::Isolator.transactions_threshold -= 1
end