aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/deprecation_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-06 15:36:06 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-06 15:36:36 -0300
commit2fc3a30e1775732cfa0f84256b452197465f4c7f (patch)
tree9850cf6398d42879e07646d6dc5c356dcaa3c151 /activesupport/test/deprecation_test.rb
parentc8fef32a661311b31bbeb207bb799af61a8f750b (diff)
downloadrails-2fc3a30e1775732cfa0f84256b452197465f4c7f.tar.gz
rails-2fc3a30e1775732cfa0f84256b452197465f4c7f.tar.bz2
rails-2fc3a30e1775732cfa0f84256b452197465f4c7f.zip
Remove more references to Test::Unit
Diffstat (limited to 'activesupport/test/deprecation_test.rb')
-rw-r--r--activesupport/test/deprecation_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/deprecation_test.rb b/activesupport/test/deprecation_test.rb
index 4daffb85d2..e821a285d7 100644
--- a/activesupport/test/deprecation_test.rb
+++ b/activesupport/test/deprecation_test.rb
@@ -120,7 +120,7 @@ class DeprecationTest < ActiveSupport::TestCase
ActiveSupport::Deprecation.warn 'abc'
ActiveSupport::Deprecation.warn 'def'
end
- rescue Test::Unit::AssertionFailedError
+ rescue MiniTest::Assertion
flunk 'assert_deprecated should match any warning in block, not just the last one'
end