diff --git a/activerecord/test/cases/associations/belongs_to_associations_test.rb b/activerecord/test/cases/associations/belongs_to_associations_test.rb index 4f99c57c3c144cf0838f8afe9bfc9534eef25d1f..a3046d526ec177900f887fe9c38c28e49737f778 100644 --- a/activerecord/test/cases/associations/belongs_to_associations_test.rb +++ b/activerecord/test/cases/associations/belongs_to_associations_test.rb @@ -726,7 +726,7 @@ def test_cant_save_readonly_association assert companies(:first_client).readonly_firm.readonly? end - def test_test_polymorphic_assignment_foreign_key_type_string + def test_polymorphic_assignment_foreign_key_type_string comment = Comment.first comment.author = Author.first comment.resource = Member.first diff --git a/activesupport/test/core_ext/module_test.rb b/activesupport/test/core_ext/module_test.rb index cbe025624c5fd8e010157113d0785190cc482756..ae4aed055427bb5165253911a20d8b72d1c12340 100644 --- a/activesupport/test/core_ext/module_test.rb +++ b/activesupport/test/core_ext/module_test.rb @@ -333,7 +333,7 @@ def test_local_constants end end - def test_test_local_constants_is_deprecated + def test_local_constants_is_deprecated assert_deprecated { Ab.local_constants.sort.map(&:to_s) } end end