Class: Test::Unit::TestCase
- Inherits:
-
Object
- Object
- Test::Unit::TestCase
- Includes:
- FlexMock::ArgumentTypes, FlexMock::MockContainer
- Defined in:
- lib/flexmock/test_unit.rb
Instance Method Summary collapse
-
#flexmock_original_teardown ⇒ Object
Alias the original teardown behavior for later use.
-
#teardown ⇒ Object
Teardown the test case, verifying any mocks that might have been defined in this test case.
Methods included from FlexMock::MockContainer
#flexmock, #flexmock_close, #flexmock_teardown, #flexmock_verify
Methods included from FlexMock::ArgumentTypes
Instance Method Details
#flexmock_original_teardown ⇒ Object
Alias the original teardown behavior for later use.
21 |
# File 'lib/flexmock/test_unit.rb', line 21 alias :flexmock_original_teardown :teardown |
#teardown ⇒ Object
Teardown the test case, verifying any mocks that might have been defined in this test case.
25 26 27 28 |
# File 'lib/flexmock/test_unit.rb', line 25 def teardown flexmock_teardown flexmock_original_teardown end |