diff options
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/subscriber_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/subscriber_test.rb b/activerecord/test/cases/subscriber_test.rb index f569d64ee5..699edbeb76 100644 --- a/activerecord/test/cases/subscriber_test.rb +++ b/activerecord/test/cases/subscriber_test.rb @@ -6,7 +6,7 @@ require "active_record/railties/subscriber" module SubscriberTest Rails::Subscriber.add(:active_record, ActiveRecord::Railties::Subscriber.new) - def super + def setup @old_logger = ActiveRecord::Base.logger super end @@ -17,7 +17,7 @@ module SubscriberTest end def set_logger(logger) - ActiveRecord::Base.logger = @logger + ActiveRecord::Base.logger = logger end def test_basic_query_logging |