mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
16f5d29755
commit
9b89a436e5
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue