Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Includes:
WebMock::API
Defined in:
lib/webmock/test_unit.rb

Instance Method Summary collapse

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_webmockObject



12
13
14
# File 'lib/webmock/test_unit.rb', line 12

def teardown_with_webmock
  WebMock.reset!
end