Sha256: cc165922aa7574299cd56c547b0f14fc87727d5287507427a19ba13588a7e94e
Contents?: true
Size: 409 Bytes
Versions: 10
Compression:
Stored size: 409 Bytes
Contents
require 'mocha/expectation_error' module Mocha module MonkeyPatching module MiniTest def self.translate(exception) return exception unless exception.kind_of?(::Mocha::ExpectationError) translated_exception = ::MiniTest::Assertion.new(exception.message) translated_exception.set_backtrace(exception.backtrace) translated_exception end end end end
Version data entries
10 entries across 8 versions & 3 rubygems