Permalink
Browse files

fix method scoping test for postgresql

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 09f89c4 commit 3848634a4b2be4ce911a6a7167119a627cb36327 @jeremy jeremy committed Feb 26, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/method_scoping_test.rb
@@ -184,7 +184,7 @@ def test_merged_scoped_find
poor_jamis = developers(:poor_jamis)
Developer.with_scope(:find => { :conditions => "salary < 100000" }) do
Developer.with_scope(:find => { :offset => 1 }) do
- assert_equal(poor_jamis, Developer.find(:first))
+ assert_equal(poor_jamis, Developer.find(:first, :order => 'id asc'))
end
end
end

0 comments on commit 3848634

Please sign in to comment.