aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-03 11:56:32 +0100
committerJon Leighton <j@jonathanleighton.com>2010-10-03 11:56:32 +0100
commit43711083dd34252877bab9df43d3db0fd42feeb2 (patch)
treea071159956b3ccd951e59edbc6729adb809d5e57 /activerecord/test/cases/associations/eager_test.rb
parenta34391c3b495bad268204bdf4f6b3483a61abcd5 (diff)
downloadrails-43711083dd34252877bab9df43d3db0fd42feeb2.tar.gz
rails-43711083dd34252877bab9df43d3db0fd42feeb2.tar.bz2
rails-43711083dd34252877bab9df43d3db0fd42feeb2.zip
Fix the tests (I have actually verified that these are also the 'right' fixes, rather than just making the tests pass again)
Diffstat (limited to 'activerecord/test/cases/associations/eager_test.rb')
-rw-r--r--activerecord/test/cases/associations/eager_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb
index 40859d425f..1669c4d5f4 100644
--- a/activerecord/test/cases/associations/eager_test.rb
+++ b/activerecord/test/cases/associations/eager_test.rb
@@ -53,8 +53,8 @@ class EagerAssociationTest < ActiveRecord::TestCase
def test_with_ordering
list = Post.find(:all, :include => :comments, :order => "posts.id DESC")
- [:eager_other, :sti_habtm, :sti_post_and_comments, :sti_comments,
- :authorless, :thinking, :welcome
+ [:misc_by_mary, :misc_by_bob, :eager_other, :sti_habtm, :sti_post_and_comments,
+ :sti_comments, :authorless, :thinking, :welcome
].each_with_index do |post, index|
assert_equal posts(post), list[index]
end