1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "porting 515917f5d8 to master"

This reverts commit bee447a5b9.
This commit is contained in:
Aaron Patterson 2010-09-28 15:51:07 -07:00
parent 16f5d29755
commit 9b89a436e5

View file

@ -357,12 +357,6 @@ class EagerAssociationTest < ActiveRecord::TestCase
end
end
def test_eager_with_has_many_through_association_with_order
author_comments = Author.find(authors(:david).id).comments_desc
eager_author_comments = Author.find(authors(:david).id, :include => :comments_desc).comments_desc
assert_equal eager_author_comments, author_comments
end
def test_eager_with_has_many_through_with_conditions_join_model_with_include
post_tags = Post.find(posts(:welcome).id).misc_tags
eager_post_tags = Post.find(1, :include => :misc_tags).misc_tags