aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-01-21 12:23:46 -0800
committerJosé Valim <jose.valim@gmail.com>2012-01-21 12:23:46 -0800
commitd5dde3734b715c95665451380f774f9c7dfde584 (patch)
tree565a23a019b4d2678fdf749450412586b9efa6cd
parenta720e347e22101a7ed6cb9892dff8ba275ea3ab0 (diff)
parent892c67018d094e544d4d7c046091f1c428e35ebc (diff)
downloadrails-d5dde3734b715c95665451380f774f9c7dfde584.tar.gz
rails-d5dde3734b715c95665451380f774f9c7dfde584.tar.bz2
rails-d5dde3734b715c95665451380f774f9c7dfde584.zip
Merge pull request #4586 from waseem/assert_with_no_deprecation_warnings
Assert with no deprecation warnings activesupport tests.
-rw-r--r--activesupport/test/tagged_logging_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/test/tagged_logging_test.rb b/activesupport/test/tagged_logging_test.rb
index dbf8a71e9a..7ecab33a9a 100644
--- a/activesupport/test/tagged_logging_test.rb
+++ b/activesupport/test/tagged_logging_test.rb
@@ -66,6 +66,8 @@ class TaggedLoggingTest < ActiveSupport::TestCase
end
test "silence" do
- assert_nothing_raised { @logger.silence {} }
+ assert_deprecated do
+ assert_nothing_raised { @logger.silence {} }
+ end
end
end