Sha256: f0a739e312f5c217b4d56a1fea85b2b0806f7fbed8d1aa466c065b8742064594
Contents?: true
Size: 430 Bytes
Versions: 41
Compression:
Stored size: 430 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
41 entries across 36 versions & 6 rubygems