Class: Test::Unit::TestCase

Inherits:
Object show all
Includes:
AutoVerify, MultipleSetupAndTeardown, SetupAndTeardown
Defined in:
lib/auto_mocha/auto_mock.rb,
lib/smart_test_case.rb,
lib/stubba.rb,
lib/mocha.rb

Instance Method Summary collapse

Methods included from AutoVerify

#build_mock_with_expectations, included, #mock, #mocks, #reset_mocks, #stub, #stub_everything, #teardown_mocks

Methods included from SetupAndTeardown

included, #setup_stubs, #teardown_stubs

Methods included from MultipleSetupAndTeardown

included

Instance Method Details

#reset_mochasObject



46
47
48
# File 'lib/auto_mocha/auto_mock.rb', line 46

def reset_mochas
  Object.reset_mochas
end

#verify_allObject



50
51
52
# File 'lib/auto_mocha/auto_mock.rb', line 50

def verify_all
  Object.verify_all
end