blob: 4ad75a668153f1cbeda58d08b9f5cbaa23542eb7 (
plain) (
tree)
|
|
begin
silence_warnings { require 'mocha' }
rescue LoadError
# Fake Mocha::ExpectationError so we can rescue it in #run. Bleh.
Object.const_set :Mocha, Module.new
Mocha.const_set :ExpectationError, Class.new(StandardError)
end
|