lib/active_support/testing/mochaing.rb in activesupport-3.2.12 vs lib/active_support/testing/mochaing.rb in activesupport-3.2.13.rc1
- old
+ new
@@ -1,7 +1,7 @@
begin
- silence_warnings { require 'mocha' }
+ 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
\ No newline at end of file
+end