mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove deprecation warning from console output when running
activesupport tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user