Skip to content
Browse files

Merge pull request #6360 from bcardarella/logger_debug_fix

Fixed logger bug introduced by #2237
  • Loading branch information...
2 parents 251b22f + e3f8b53 commit 47971a1eb586167f2c039849cbccfdebcea4241d @tenderlove tenderlove committed May 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 activesupport/lib/active_support/log_subscriber/test_helper.rb
View
3 activesupport/lib/active_support/log_subscriber/test_helper.rb
@@ -61,6 +61,9 @@ def initialize(level = DEBUG)
@logged = Hash.new { |h,k| h[k] = [] }
end
+ def debug
+ end
+
def method_missing(level, message)
@logged[level] << message
end

0 comments on commit 47971a1

Please sign in to comment.
Something went wrong with that request. Please try again.