Skip to content

Commit

Permalink
Fix eager association test related to different ordering on sqlite
Browse files Browse the repository at this point in the history
[#2686 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information
thewoolleyman authored and jeremy committed May 21, 2009
1 parent e9a7545 commit 0f1b283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/associations/eager_test.rb
Expand Up @@ -590,7 +590,7 @@ def test_limited_eager_with_multiple_order_columns
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
Expand Down

0 comments on commit 0f1b283

Please sign in to comment.