Skip to content
Browse files

Fix test_associate_existing in has_many_through_associations_test on …

…mysql and postgresql
  • Loading branch information...
1 parent daf7a8c commit 2a5e317951fa28c570dc03c562d506ab366050ae @jonleighton jonleighton committed Apr 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/has_many_through_associations_test.rb
View
2 activerecord/test/cases/associations/has_many_through_associations_test.rb
@@ -44,7 +44,7 @@ def test_include?
end
def test_associate_existing
- assert_queries(2) { posts(:thinking); people(:david) }
+ posts(:thinking); people(:david) # Warm cache
assert_queries(1) do
posts(:thinking).people << people(:david)

0 comments on commit 2a5e317

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