Skip to content

Commit 0f1b283

Browse files
thewoolleymanjeremy
authored andcommitted
Fix eager association test related to different ordering on sqlite
[#2686 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
1 parent e9a7545 commit 0f1b283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/associations/eager_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def test_limited_eager_with_multiple_order_columns
590590
end
591591

592592
def test_limited_eager_with_numeric_in_association
593-
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)
593+
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)
594594
end
595595

596596
def test_preload_with_interpolation

0 commit comments

Comments
 (0)