diff options
author | José Valim <jose.valim@gmail.com> | 2012-01-21 12:23:46 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-21 12:23:46 -0800 |
commit | d5dde3734b715c95665451380f774f9c7dfde584 (patch) | |
tree | 565a23a019b4d2678fdf749450412586b9efa6cd /activesupport | |
parent | a720e347e22101a7ed6cb9892dff8ba275ea3ab0 (diff) | |
parent | 892c67018d094e544d4d7c046091f1c428e35ebc (diff) | |
download | rails-d5dde3734b715c95665451380f774f9c7dfde584.tar.gz rails-d5dde3734b715c95665451380f774f9c7dfde584.tar.bz2 rails-d5dde3734b715c95665451380f774f9c7dfde584.zip |
Merge pull request #4586 from waseem/assert_with_no_deprecation_warnings
Assert with no deprecation warnings activesupport tests.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/tagged_logging_test.rb | 4 |
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 |