From 91211afd5a45c64f72cd2c0353246c68ae0bd6f4 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Wed, 2 Mar 2016 05:58:29 +0900 Subject: [PATCH] Remove duplicated `test_` prefix [ci skip] --- .../test/cases/associations/belongs_to_associations_test.rb | 2 +- activesupport/test/core_ext/module_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/test/cases/associations/belongs_to_associations_test.rb b/activerecord/test/cases/associations/belongs_to_associations_test.rb index 4f99c57c3c..a3046d526e 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 @@ class BelongsToAssociationsTest < ActiveRecord::TestCase 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 cbe025624c..ae4aed0554 100644 --- a/activesupport/test/core_ext/module_test.rb +++ b/activesupport/test/core_ext/module_test.rb @@ -333,7 +333,7 @@ class ModuleTest < ActiveSupport::TestCase 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