aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorChad Woolley <thewoolleyman@gmail.com>2009-05-21 00:41:19 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-21 10:01:47 -0700
commit0f1b283e03633410729aa006f6abf070c713095d (patch)
tree3fc6c84671104ea67360c26f532dc78d20e86af3 /activerecord
parente9a75451236119e1db3e5d7cc7703637d048c7f8 (diff)
downloadrails-0f1b283e03633410729aa006f6abf070c713095d.tar.gz
rails-0f1b283e03633410729aa006f6abf070c713095d.tar.bz2
rails-0f1b283e03633410729aa006f6abf070c713095d.zip
Fix eager association test related to different ordering on sqlite
[#2686 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/eager_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb
index 65049c4f87..4cf49be668 100644
--- a/activerecord/test/cases/associations/eager_test.rb
+++ b/activerecord/test/cases/associations/eager_test.rb
@@ -590,7 +590,7 @@ class EagerAssociationTest < ActiveRecord::TestCase
end
def test_limited_eager_with_numeric_in_association
- assert_equal people(:david, :susan), Person.find(:all, :include => [:readers, :primary_contact, :number1_fan], :conditions => "number1_fans_people.first_name like 'M%'", :order => 'readers.id', :limit => 2, :offset => 0)
+ assert_equal people(:david, :susan), Person.find(:all, :include => [:readers, :primary_contact, :number1_fan], :conditions => "number1_fans_people.first_name like 'M%'", :order => 'people.id', :limit => 2, :offset => 0)
end
def test_preload_with_interpolation