diff options
author | gregolsen <anotheroneman@yahoo.com> | 2012-01-31 18:16:48 +0200 |
---|---|---|
committer | gregolsen <anotheroneman@yahoo.com> | 2012-01-31 18:16:48 +0200 |
commit | b00a5e6e513d548d07d339738125ef10e4854837 (patch) | |
tree | 4f35beac9411512cc877b779fdf24a72eb8bb2fb /activerecord/test/cases | |
parent | 58cd0085a93fb8f65bffbbe0aceebae6342e59c2 (diff) | |
download | rails-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.rb | 2 |
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 |