From ac1ba44f8d46ebbbe6889629d263e5690631f6a1 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 4 May 2019 17:49:25 +0900 Subject: 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 ``` --- activemodel/test/cases/nested_error_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel') 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) -- cgit v1.2.3