Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix eager association test. Closes #10381 [alexey]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 52fe604da3b72ebbe4d7789917cdcb2ef68b2e6d 1 parent 0d82b14
Jeremy Kemper jeremy authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  activerecord/test/associations/eager_test.rb
3  activerecord/test/associations/eager_test.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.