diff options
author | Chad Woolley <thewoolleyman@gmail.com> | 2009-05-21 00:41:19 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-21 10:01:47 -0700 |
commit | 0f1b283e03633410729aa006f6abf070c713095d (patch) | |
tree | 3fc6c84671104ea67360c26f532dc78d20e86af3 /activerecord | |
parent | e9a75451236119e1db3e5d7cc7703637d048c7f8 (diff) | |
download | rails-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.rb | 2 |
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 |