Sha256: c6937413364ecb853947262194f6ba56832db7986b918ed64528fc3f2019b588
Contents?: true
Size: 446 Bytes
Versions: 11
Compression:
Stored size: 446 Bytes
Contents
module MiniTest module AroundTestHooks def self.before_test(instance) MiniTest::Unit.runner.before_test(instance.class, instance.__name__) end def self.after_test(instance) # MiniTest < 4.1.0 sends #record after all teardown hooks, so don't call # #after_test here. if MiniTest::Unit::VERSION > "4.1.0" MiniTest::Unit.runner.after_test(instance.class, instance.__name__) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems