Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v3.2.8.rc2
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (7 sloc) 0.233 kB
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
Jump to Line
Something went wrong with that request. Please try again.