Permalink
Browse files

Merge pull request #4586 from waseem/assert_with_no_deprecation_warnings

Assert with no deprecation warnings activesupport tests.
  • Loading branch information...
josevalim committed Jan 21, 2012
2 parents a720e34 + 892c670 commit d5dde3734b715c95665451380f774f9c7dfde584
Showing with 3 additions and 1 deletion.
  1. +3 −1 activesupport/test/tagged_logging_test.rb
@@ -66,6 +66,8 @@ def flush(*)
end
test "silence" do
- assert_nothing_raised { @logger.silence {} }
+ assert_deprecated do
+ assert_nothing_raised { @logger.silence {} }
+ end
end
end

0 comments on commit d5dde37

Please sign in to comment.