blob: ae4e7e9a1f6b330e1b4c43b0a9f4da3adbd83f2a (
plain) (
tree)
|
|
begin
silence_warnings { require 'mocha/setup' }
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
|