diff options
author | wycats <wycats@gmail.com> | 2010-03-17 00:15:55 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-17 00:20:09 -0700 |
commit | a5587efc1903fd27d4b179753aa6e139445ad18c (patch) | |
tree | 7642d070d3f876e4c11b7aea3cded9ec2ffd2d79 /activesupport/lib/active_support/test_case.rb | |
parent | cd9ffd11e13ef6e62eba2cbd5c3760ff04132820 (diff) | |
download | rails-a5587efc1903fd27d4b179753aa6e139445ad18c.tar.gz rails-a5587efc1903fd27d4b179753aa6e139445ad18c.tar.bz2 rails-a5587efc1903fd27d4b179753aa6e139445ad18c.zip |
Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM warnings are in dependencies.
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index ab30984d62..bfe2bc41d0 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -7,7 +7,7 @@ require 'active_support/testing/pending' require 'active_support/testing/isolation' begin - require 'mocha' + silence_warnings { require 'mocha' } rescue LoadError # Fake Mocha::ExpectationError so we can rescue it in #run. Bleh. Object.const_set :Mocha, Module.new |