<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -260,9 +260,9 @@ class EagerAssociationTest &lt; ActiveRecord::TestCase
   end
 
   def test_eager_with_has_many_through
-    posts_with_comments = people(:michael).posts.find(:all, :include =&gt; :comments)
-    posts_with_author = people(:michael).posts.find(:all, :include =&gt; :author )
-    posts_with_comments_and_author = people(:michael).posts.find(:all, :include =&gt; [ :comments, :author ])
+    posts_with_comments = people(:michael).posts.find(:all, :include =&gt; :comments, :order =&gt; 'posts.id')
+    posts_with_author = people(:michael).posts.find(:all, :include =&gt; :author, :order =&gt; 'posts.id')
+    posts_with_comments_and_author = people(:michael).posts.find(:all, :include =&gt; [ :comments, :author ], :order =&gt; 'posts.id')
     assert_equal 2, posts_with_comments.inject(0) { |sum, post| sum += post.comments.size }
     assert_equal authors(:david), assert_no_queries { posts_with_author.first.author }
     assert_equal authors(:david), assert_no_queries { posts_with_comments_and_author.first.author }</diff>
      <filename>activerecord/test/cases/associations/eager_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3dfecfe77347421fbb54be70a5a84eb47c30acb6</id>
    </parent>
  </parents>
  <author>
    <name>Tarmo T&#228;nav</name>
    <email>tarmo@itech.ee</email>
  </author>
  <url>http://github.com/rails/rails/commit/eec5eb2e444b2b42206e2d5ccfe7f30306c308cb</url>
  <id>eec5eb2e444b2b42206e2d5ccfe7f30306c308cb</id>
  <committed-date>2008-08-26T04:16:55-07:00</committed-date>
  <authored-date>2008-08-26T04:15:44-07:00</authored-date>
  <message>Fix yet another implicit order dependant test

Signed-off-by: Michael Koziarski &lt;michael@koziarski.com&gt;</message>
  <tree>4b10b7bac08aac3b4eebb071afa2b752667d3d58</tree>
  <committer>
    <name>Michael Koziarski</name>
    <email>michael@koziarski.com</email>
  </committer>
</commit>
