Skip to content
This repository
Browse code

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 authored December 05, 2007
3  activerecord/test/associations/eager_test.rb
@@ -42,7 +42,8 @@ def test_with_two_tables_in_from_without_getting_double_quoted
42 42
       :select     => "posts.*",
43 43
       :from       => "authors, posts",
44 44
       :include    => :comments,
45  
-      :conditions => "posts.author_id = authors.id"
  45
+      :conditions => "posts.author_id = authors.id",
  46
+      :order      => "posts.id"
46 47
     )
47 48
 
48 49
     assert_equal 2, posts.first.comments.size

0 notes on commit 52fe604

Please sign in to comment.
Something went wrong with that request. Please try again.