Permalink
Browse files

fixing test for mysql2

  • Loading branch information...
1 parent 57958cb commit c3cbd2c95214db892e6dbfda95f09686726fc859 @tenderlove tenderlove committed May 27, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 activerecord/test/cases/associations/eager_test.rb
@@ -362,13 +362,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 c3cbd2c

Please sign in to comment.