Skip to content
Browse files

fixing test for mysql2

  • Loading branch information...
1 parent 4ae8381 commit 8628948e2a2c874facc66a1d7b328431f8c0b3c8 @tenderlove tenderlove committed May 27, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 activerecord/test/cases/associations/eager_test.rb
View
7 activerecord/test/cases/associations/eager_test.rb
@@ -385,13 +385,10 @@ def test_string_id_column_joins
c.id = "PL"
end
- b = Book.create! do |t|
- t.id = "UE"
- end
+ b = Book.create!
- Subscription.create!(:subscriber_id => "PL", :book_id => "UE")
+ Subscription.create!(:subscriber_id => "PL", :book_id => b.id)
s.reload
- s.books
s.book_ids = s.book_ids
end

0 comments on commit 8628948

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