aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/mochaing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/testing/mochaing.rb')
-rw-r--r--activesupport/lib/active_support/testing/mochaing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/mochaing.rb b/activesupport/lib/active_support/testing/mochaing.rb
index 4ad75a6681..0161476d79 100644
--- a/activesupport/lib/active_support/testing/mochaing.rb
+++ b/activesupport/lib/active_support/testing/mochaing.rb
@@ -1,5 +1,5 @@
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