Sha256: 92f370cd0ba753c29b88a841c6d80b9a9c1b6526c2250b13ed0f936052f8bf03
Contents?: true
Size: 473 Bytes
Versions: 39
Compression:
Stored size: 473 Bytes
Contents
require 'test/unit' require 'webmock' WebMock.enable! module Test module Unit class TestCase 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 end end WebMock::AssertionFailure.error_class = Test::Unit::AssertionFailedError rescue MiniTest::Assertion # ruby1.9 compat
Version data entries
39 entries across 33 versions & 4 rubygems