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_created_mocks, #flexmock_remember, #flexmock_teardown, #flexmock_verify, #rails_version, #should_render_view
Methods included from FlexMock::Ordering
#flexmock_allocate_order, #flexmock_current_order, #flexmock_current_order=, #flexmock_groups, #flexmock_validate_order
Methods included from FlexMock::ArgumentTypes
#any, #ducktype, #eq, #hsh, #on
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 |