Sha256: ea7037db082438ff3b3759bdf54e985a441965fc1c7b048179077cd391fa4a55
Contents?: true
Size: 354 Bytes
Versions: 28
Compression:
Stored size: 354 Bytes
Contents
require 'minitest/unit' require 'webmock' MiniTest::Unit::TestCase.class_eval do include WebMock::API alias_method :teardown_without_webmock, :teardown def teardown_with_webmock teardown_without_webmock WebMock.reset! end alias_method :teardown, :teardown_with_webmock end WebMock::AssertionFailure.error_class = MiniTest::Assertion
Version data entries
28 entries across 28 versions & 3 rubygems