aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/tagged_logging_test.rb
diff options
context:
space:
mode:
authorWaseem Ahmad <talk.to.waseem@gmail.com>2012-01-22 01:45:32 +0530
committerWaseem Ahmad <talk.to.waseem@gmail.com>2012-01-22 01:45:32 +0530
commit892c67018d094e544d4d7c046091f1c428e35ebc (patch)
tree565a23a019b4d2678fdf749450412586b9efa6cd /activesupport/test/tagged_logging_test.rb
parenta720e347e22101a7ed6cb9892dff8ba275ea3ab0 (diff)
downloadrails-892c67018d094e544d4d7c046091f1c428e35ebc.tar.gz
rails-892c67018d094e544d4d7c046091f1c428e35ebc.tar.bz2
rails-892c67018d094e544d4d7c046091f1c428e35ebc.zip
Remove deprecation warning from console output when running
activesupport tests.
Diffstat (limited to 'activesupport/test/tagged_logging_test.rb')
-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