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