diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-26 00:10:16 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-26 00:10:16 -0700 |
commit | 52e15abbedab9ef6f3db03ef39fe5cbab9c3ddde (patch) | |
tree | 62f6cc7dadd5bf34276714c93711695503d0e42a /activerecord/test/cases/associations | |
parent | 6d66ddaa34ec011a4a20ca5d3f7f695b1a843734 (diff) | |
download | rails-52e15abbedab9ef6f3db03ef39fe5cbab9c3ddde.tar.gz rails-52e15abbedab9ef6f3db03ef39fe5cbab9c3ddde.tar.bz2 rails-52e15abbedab9ef6f3db03ef39fe5cbab9c3ddde.zip |
um.. yeah
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r-- | activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb index cae9fdb090..0572418e3b 100644 --- a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb @@ -647,7 +647,7 @@ class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase developer.save developer.reload assert_equal 2, developer.projects.length - assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids + assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids.sort end def test_assign_ids_ignoring_blanks @@ -656,7 +656,7 @@ class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase developer.save developer.reload assert_equal 2, developer.projects.length - assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids + assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids.sort end def test_select_limited_ids_list |