aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-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