aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-02-26 23:03:59 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-02-26 23:03:59 +0000
commit3848634a4b2be4ce911a6a7167119a627cb36327 (patch)
tree921c4228ffe38aa385742736c5768b22050a11a7
parent09f89c4abf7a3cbff79426f2446bfc05fd1b18a6 (diff)
downloadrails-3848634a4b2be4ce911a6a7167119a627cb36327.tar.gz
rails-3848634a4b2be4ce911a6a7167119a627cb36327.tar.bz2
rails-3848634a4b2be4ce911a6a7167119a627cb36327.zip
fix method scoping test for postgresql
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activerecord/test/method_scoping_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/method_scoping_test.rb b/activerecord/test/method_scoping_test.rb
index cb8b6a05e9..8c547e1435 100644
--- a/activerecord/test/method_scoping_test.rb
+++ b/activerecord/test/method_scoping_test.rb
@@ -184,7 +184,7 @@ class NestedScopingTest < Test::Unit::TestCase
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