Module: Bogus::Minitest

Includes:
MockingDSL
Included in:
MiniTest::Unit::TestCase, Minitest::Test
Defined in:
lib/bogus/minitest.rb

Instance Method Summary collapse

Methods included from MockingDSL

#any, #any_args, #anything, #fake, #fake_class, #have_received, #make_duck, #matches, #mock, #stub, #with

Instance Method Details

#after_teardownObject



34
35
36
37
# File 'lib/bogus/minitest.rb', line 34

def after_teardown
  Bogus.ensure_all_expectations_satisfied!
  super
end

#before_setupObject



29
30
31
32
# File 'lib/bogus/minitest.rb', line 29

def before_setup
  super
  Bogus.clear
end