From 892c67018d094e544d4d7c046091f1c428e35ebc Mon Sep 17 00:00:00 2001 From: Waseem Ahmad Date: Sun, 22 Jan 2012 01:45:32 +0530 Subject: Remove deprecation warning from console output when running activesupport tests. --- activesupport/test/tagged_logging_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3