Skip to content

Commit

Permalink
Fix eager association test. Closes #10381 [alexey]
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Dec 5, 2007
1 parent 0d82b14 commit 52fe604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion activerecord/test/associations/eager_test.rb
Expand Up @@ -42,7 +42,8 @@ def test_with_two_tables_in_from_without_getting_double_quoted
:select => "posts.*",
:from => "authors, posts",
:include => :comments,
:conditions => "posts.author_id = authors.id"
:conditions => "posts.author_id = authors.id",
:order => "posts.id"
)

assert_equal 2, posts.first.comments.size
Expand Down

0 comments on commit 52fe604

Please sign in to comment.