aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-03-02 05:58:29 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-03-02 05:58:29 +0900
commit91211afd5a45c64f72cd2c0353246c68ae0bd6f4 (patch)
tree81ad7414bb219ebd38e6a38cfd93766cf9752356
parenta408645223f81613b45366aa69d28584c37f17f8 (diff)
downloadrails-91211afd5a45c64f72cd2c0353246c68ae0bd6f4.tar.gz
rails-91211afd5a45c64f72cd2c0353246c68ae0bd6f4.tar.bz2
rails-91211afd5a45c64f72cd2c0353246c68ae0bd6f4.zip
Remove duplicated `test_` prefix [ci skip]
-rw-r--r--activerecord/test/cases/associations/belongs_to_associations_test.rb2
-rw-r--r--activesupport/test/core_ext/module_test.rb2
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