From e3f8b53336500651f3a2b9870e43239b52ef9ef9 Mon Sep 17 00:00:00 2001 From: Brian Cardarella Date: Thu, 17 May 2012 00:34:30 -0400 Subject: Fixed logger bug introduced by #2237 --- activesupport/lib/active_support/log_subscriber/test_helper.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activesupport/lib') 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 -- cgit v1.2.3