diff options
author | Carl Lerche <carllerche@mac.com> | 2010-03-04 02:20:01 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-04 02:20:01 -0800 |
commit | 0de3b9ec93e7221cfe24bd13d57616d8d8d03a57 (patch) | |
tree | 6a1b69dedc252e5d4ea5ce17af83b9445de2a1bb /activerecord | |
parent | 05b9382e292d8b5aeee00304876c1f4e9fc87de5 (diff) | |
download | rails-0de3b9ec93e7221cfe24bd13d57616d8d8d03a57.tar.gz rails-0de3b9ec93e7221cfe24bd13d57616d8d8d03a57.tar.bz2 rails-0de3b9ec93e7221cfe24bd13d57616d8d8d03a57.zip |
Somehow this fixes the AR tests when ran with rake. I should probably figure out why.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/log_subscriber_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/log_subscriber_test.rb b/activerecord/test/cases/log_subscriber_test.rb index 9e46de50d5..f3b94eb829 100644 --- a/activerecord/test/cases/log_subscriber_test.rb +++ b/activerecord/test/cases/log_subscriber_test.rb @@ -7,9 +7,9 @@ class LogSubscriberTest < ActiveSupport::TestCase include Rails::LogSubscriber::TestHelper def setup + @old_logger = ActiveRecord::Base.logger super - @old_logger = ActiveRecord::Base.logger Rails::LogSubscriber.add(:active_record, ActiveRecord::Railties::LogSubscriber.new) end |