diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 05:03:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 05:03:56 +0000 |
commit | 76690111d52dca6c1992ff6c9f9962c889b40c5d (patch) | |
tree | a3b2791b3a74e80c59a70709454bc379e7e80fa4 /activerecord/test/associations_go_eager_test.rb | |
parent | d547c3f5ecd0318d9d3ddb95778867d4c43273c2 (diff) | |
download | rails-76690111d52dca6c1992ff6c9f9962c889b40c5d.tar.gz rails-76690111d52dca6c1992ff6c9f9962c889b40c5d.tar.bz2 rails-76690111d52dca6c1992ff6c9f9962c889b40c5d.zip |
Fixes for postgresql testing #1129, #1130, #1131
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/associations_go_eager_test.rb')
-rw-r--r-- | activerecord/test/associations_go_eager_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/associations_go_eager_test.rb b/activerecord/test/associations_go_eager_test.rb index 498d557a02..0bd887478d 100644 --- a/activerecord/test/associations_go_eager_test.rb +++ b/activerecord/test/associations_go_eager_test.rb @@ -10,11 +10,11 @@ class EagerAssociationTest < Test::Unit::TestCase def test_loading_with_one_association posts = Post.find(:all, :include => :comments) assert_equal 2, posts.first.comments.size - assert_equal @greetings.body, posts.first.comments.first.body + assert posts.first.comments.include?(@greetings) post = Post.find(:first, :include => :comments, :conditions => "posts.title = 'Welcome to the weblog'") assert_equal 2, post.comments.size - assert_equal @greetings.body, post.comments.first.body + assert post.comments.include?(@greetings) end def test_loading_with_multiple_associations |