Class: Test::Unit::TestCase
- Inherits:
-
Object
- Object
- Test::Unit::TestCase
- Includes:
- WebMock::API
- Defined in:
- lib/webmock/test_unit.rb
Instance Method Summary collapse
- #teardown_with_webmock ⇒ Object (also: #teardown)
Methods included from WebMock::API
#a_request, #assert_not_requested, #assert_requested, #hash_excluding, #hash_including, #remove_request_stub, #reset_executed_requests!, #stub_request
Instance Method Details
#teardown_with_webmock ⇒ Object Also known as: teardown
12 13 14 15 |
# File 'lib/webmock/test_unit.rb', line 12 def teardown_with_webmock teardown_without_webmock WebMock.reset! end |