Sha256: 43bc612f71252683309a0309526efb52f5daab161579520924bb21d92ee9be5c
Contents?: true
Size: 406 Bytes
Versions: 23
Compression:
Stored size: 406 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
23 entries across 22 versions & 3 rubygems