Permalink
Browse files

Fix eager association test related to different ordering on sqlite

[#2686 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent e9a7545 commit 0f1b283e03633410729aa006f6abf070c713095d @thewoolleyman thewoolleyman committed with jeremy May 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/eager_test.rb
View
2 activerecord/test/cases/associations/eager_test.rb
@@ -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

0 comments on commit 0f1b283

Please sign in to comment.