lib/webmock/test_unit.rb in webmock-3.9.4 vs lib/webmock/test_unit.rb in webmock-3.9.5
- old
+ new
@@ -6,15 +6,13 @@
module Test
module Unit
class TestCase
include WebMock::API
- alias_method :teardown_without_webmock, :teardown
+ teardown
def teardown_with_webmock
- teardown_without_webmock
WebMock.reset!
end
- alias_method :teardown, :teardown_with_webmock
end
end
end