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
```
This commit is contained in:
yuuji.yaginuma 2019-05-04 17:49:25 +09:00
parent 9b680e52f1
commit ac1ba44f8d
1 changed files with 1 additions and 1 deletions

View File

@ -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)