aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorgregolsen <anotheroneman@yahoo.com>2012-01-31 18:16:48 +0200
committergregolsen <anotheroneman@yahoo.com>2012-01-31 18:16:48 +0200
commitb00a5e6e513d548d07d339738125ef10e4854837 (patch)
tree4f35beac9411512cc877b779fdf24a72eb8bb2fb /activerecord/test/cases
parent58cd0085a93fb8f65bffbbe0aceebae6342e59c2 (diff)
downloadrails-b00a5e6e513d548d07d339738125ef10e4854837.tar.gz
rails-b00a5e6e513d548d07d339738125ef10e4854837.tar.bz2
rails-b00a5e6e513d548d07d339738125ef10e4854837.zip
test_get_ids_for_ordered_association fixed
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/associations/has_many_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index 367f87031c..6ca1b2f0c4 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.rb
@@ -1279,7 +1279,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase
end
def test_get_ids_for_ordered_association
- assert_equal [companies(:second_client).id, companies(:first_client).id], companies(:first_firm).clients_ordered_by_rating_ids
+ assert_equal [companies(:second_client).id, companies(:first_client).id], companies(:first_firm).clients_ordered_by_name_ids
end
def test_assign_ids_ignoring_blanks