diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/associations/eager_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/associations/eager_test.rb b/activerecord/test/associations/eager_test.rb index 673024adbc..4fc2e62842 100644 --- a/activerecord/test/associations/eager_test.rb +++ b/activerecord/test/associations/eager_test.rb @@ -42,7 +42,8 @@ class EagerAssociationTest < Test::Unit::TestCase :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 |