mirror of https://github.com/rails/rails
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:
parent
9b680e52f1
commit
ac1ba44f8d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue