Sha256: 9707573051aa26dd69d65c8a243a45202c4fea2953e8ea0573985ee41fcae595
Contents?: true
Size: 400 Bytes
Versions: 28
Compression:
Stored size: 400 Bytes
Contents
require 'mocha/expectation_error' module Mocha module Integration 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
28 entries across 24 versions & 5 rubygems