From 52fe604da3b72ebbe4d7789917cdcb2ef68b2e6d Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 5 Dec 2007 22:06:26 +0000 Subject: Fix eager association test. Closes #10381 [alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/associations/eager_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/test') 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 -- cgit v1.2.3