lib/mocha/integration/mini_test/exception_translation.rb in mocha-0.12.10 vs lib/mocha/integration/mini_test/exception_translation.rb in mocha-0.13.0

- old
+ new

@@ -1,20 +1,14 @@ 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