diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-12-08 09:06:15 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-12-08 09:06:15 +0000 |
commit | 188b8c39da57abccb204d267f857646975680474 (patch) | |
tree | e6a7c90c2de27f40d53d8e3d07be84cbfce568d1 /activerecord/test/cases | |
parent | e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6 (diff) | |
download | rails-188b8c39da57abccb204d267f857646975680474.tar.gz rails-188b8c39da57abccb204d267f857646975680474.tar.bz2 rails-188b8c39da57abccb204d267f857646975680474.zip |
Fix broken test_exists_query_logging from the table_exists? change
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/log_subscriber_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/log_subscriber_test.rb b/activerecord/test/cases/log_subscriber_test.rb index 9e8475465e..e24a5ca5aa 100644 --- a/activerecord/test/cases/log_subscriber_test.rb +++ b/activerecord/test/cases/log_subscriber_test.rb @@ -13,6 +13,7 @@ class LogSubscriberTest < ActiveRecord::TestCase @old_logger = ActiveRecord::Base.logger @using_identity_map = ActiveRecord::IdentityMap.enabled? ActiveRecord::IdentityMap.enabled = false + Developer.primary_key super ActiveRecord::LogSubscriber.attach_to(:active_record) end |