aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorBrian Cardarella <bcardarella@gmail.com>2012-05-17 00:34:30 -0400
committerBrian Cardarella <bcardarella@gmail.com>2012-05-17 00:38:21 -0400
commite3f8b53336500651f3a2b9870e43239b52ef9ef9 (patch)
tree022eac4a2a55a62641024f1068f6ac527ba4e83e /activesupport/lib
parent251b22f7610f6b62028297058b6321b788f4f610 (diff)
downloadrails-e3f8b53336500651f3a2b9870e43239b52ef9ef9.tar.gz
rails-e3f8b53336500651f3a2b9870e43239b52ef9ef9.tar.bz2
rails-e3f8b53336500651f3a2b9870e43239b52ef9ef9.zip
Fixed logger bug introduced by #2237
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/log_subscriber/test_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/log_subscriber/test_helper.rb b/activesupport/lib/active_support/log_subscriber/test_helper.rb
index 7b7fc81e6c..6e1502989b 100644
--- a/activesupport/lib/active_support/log_subscriber/test_helper.rb
+++ b/activesupport/lib/active_support/log_subscriber/test_helper.rb
@@ -61,6 +61,9 @@ module ActiveSupport
@logged = Hash.new { |h,k| h[k] = [] }
end
+ def debug
+ end
+
def method_missing(level, message)
@logged[level] << message
end