blob: 0161476d797eb7587d29d065ca0f3c57467ee8b0 (
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
|