diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-05-04 17:49:25 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-05-04 17:49:25 +0900 |
commit | ac1ba44f8d46ebbbe6889629d263e5690631f6a1 (patch) | |
tree | 127dced1a8d0d8a45c3b7be1c20a71c7ebcaa26d /activemodel | |
parent | 9b680e52f1ad4469d4fabe7f7f4e301bfe7bfd37 (diff) | |
download | rails-ac1ba44f8d46ebbbe6889629d263e5690631f6a1.tar.gz rails-ac1ba44f8d46ebbbe6889629d263e5690631f6a1.tar.bz2 rails-ac1ba44f8d46ebbbe6889629d263e5690631f6a1.zip |
Fix test case name to fit file name
This fixes the following warnings.
```
/rails/activemodel/test/cases/nested_error_test.rb:9: warning: method redefined; discarding old test_initialize
/rails/activemodel/test/cases/error_test.rb:29: warning: previous definition of test_initialize was here
```
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/test/cases/nested_error_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/nested_error_test.rb b/activemodel/test/cases/nested_error_test.rb index 5bad100da5..6c2458ba83 100644 --- a/activemodel/test/cases/nested_error_test.rb +++ b/activemodel/test/cases/nested_error_test.rb @@ -5,7 +5,7 @@ require "active_model/nested_error" require "models/topic" require "models/reply" -class ErrorTest < ActiveModel::TestCase +class NestedErrorTest < ActiveModel::TestCase def test_initialize topic = Topic.new inner_error = ActiveModel::Error.new(topic, :title, :not_enough, count: 2) |