Sha256: a9171c7ef7b281129b01c4ade4ac7aeb2a13b70ba49742393230938eb6eb54fa
Contents?: true
Size: 397 Bytes
Versions: 13
Compression:
Stored size: 397 Bytes
Contents
require 'mocha/expectation_error' module Mocha module Integration module Minitest def self.translate(exception) return exception unless exception.is_a?(::Mocha::ExpectationError) translated_exception = ::Minitest::Assertion.new(exception.message) translated_exception.set_backtrace(exception.backtrace) translated_exception end end end end
Version data entries
13 entries across 13 versions & 2 rubygems