aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2012-01-22 04:40:09 +0900
committerkennyj <kennyj@gmail.com>2012-01-22 04:40:09 +0900
commitcaf78564c295e2a8c0326b8eb864f35d4f873f26 (patch)
tree6195e6de13465c130587f2e944f7ebd4cee2640e /activesupport/test
parentc70135807ed786e6c9e18a35cc83ac6007450ca2 (diff)
downloadrails-caf78564c295e2a8c0326b8eb864f35d4f873f26.tar.gz
rails-caf78564c295e2a8c0326b8eb864f35d4f873f26.tar.bz2
rails-caf78564c295e2a8c0326b8eb864f35d4f873f26.zip
Fix GH #4580. Rails 3.2: uninitialized constant ActiveSupport::TaggedLogging::ERROR
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/tagged_logging_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/test/tagged_logging_test.rb b/activesupport/test/tagged_logging_test.rb
index 17c4214dfc..dbf8a71e9a 100644
--- a/activesupport/test/tagged_logging_test.rb
+++ b/activesupport/test/tagged_logging_test.rb
@@ -64,4 +64,8 @@ class TaggedLoggingTest < ActiveSupport::TestCase
assert_equal "[BCX] [Jason] Funky time\n[BCX] Junky time!\n", @output.string
end
+
+ test "silence" do
+ assert_nothing_raised { @logger.silence {} }
+ end
end