aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb4
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 917c241346..cae9fdb090 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.projects_ids
+ assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids
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.projects_ids
+ assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids
end
def test_select_limited_ids_list