Module: SibaMinitestPlugin

Included in:
MiniTest::Unit::TestCase
Defined in:
lib/siba/helpers/test/siba_minitest_plugin.rb

Instance Method Summary collapse

Instance Method Details

#after_teardownObject



7
8
9
10
# File 'lib/siba/helpers/test/siba_minitest_plugin.rb', line 7

def after_teardown
  SibaTest.teardown_hooks.each { |hook| hook.call }
  super
end

#before_setupObject



2
3
4
5
# File 'lib/siba/helpers/test/siba_minitest_plugin.rb', line 2

def before_setup
  super
  SibaTest.setup_hooks.each { |hook| hook.call }
end