aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-02-23 05:48:29 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-02-23 05:48:29 +0000
commit5a02ee2bd8bbaffde71da39de850ed8ea5e66dbc (patch)
treee95176e4a67ca0d51f0fb58a7a45ae78d04e8c63
parente9d4b367ccb9d09c104e4045d9b0da8c2d8a88f4 (diff)
downloadrails-5a02ee2bd8bbaffde71da39de850ed8ea5e66dbc.tar.gz
rails-5a02ee2bd8bbaffde71da39de850ed8ea5e66dbc.tar.bz2
rails-5a02ee2bd8bbaffde71da39de850ed8ea5e66dbc.zip
fix test for postgresql
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activerecord/test/modules_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/modules_test.rb b/activerecord/test/modules_test.rb
index 5c3cc1906e..6f919bbd78 100644
--- a/activerecord/test/modules_test.rb
+++ b/activerecord/test/modules_test.rb
@@ -18,7 +18,7 @@ class ModulesTest < Test::Unit::TestCase
end
def test_associations_spanning_cross_modules
- account = MyApplication::Billing::Account.find(:first)
+ account = MyApplication::Billing::Account.find(:first, :order => 'id')
assert_kind_of MyApplication::Business::Firm, account.firm
assert_kind_of MyApplication::Billing::Firm, account.qualified_billing_firm
assert_kind_of MyApplication::Billing::Firm, account.unqualified_billing_firm