Remove deprecation warning from console output when running

activesupport tests.
This commit is contained in:
Waseem Ahmad
2012-01-22 01:45:32 +05:30
parent a720e347e2
commit 892c67018d

View File

@@ -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