mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove duplicated test_
prefix [ci skip]
This commit is contained in:
parent
a408645223
commit
91211afd5a
2 changed files with 2 additions and 2 deletions
|
@ -726,7 +726,7 @@ class BelongsToAssociationsTest < ActiveRecord::TestCase
|
||||||
assert companies(:first_client).readonly_firm.readonly?
|
assert companies(:first_client).readonly_firm.readonly?
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_test_polymorphic_assignment_foreign_key_type_string
|
def test_polymorphic_assignment_foreign_key_type_string
|
||||||
comment = Comment.first
|
comment = Comment.first
|
||||||
comment.author = Author.first
|
comment.author = Author.first
|
||||||
comment.resource = Member.first
|
comment.resource = Member.first
|
||||||
|
|
|
@ -333,7 +333,7 @@ class ModuleTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_test_local_constants_is_deprecated
|
def test_local_constants_is_deprecated
|
||||||
assert_deprecated { Ab.local_constants.sort.map(&:to_s) }
|
assert_deprecated { Ab.local_constants.sort.map(&:to_s) }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue