Skip to content

Commit 610cf9d

Browse files
committed
remove method redefinition warnings
actionpack/test/template/spec_type_test.rb:32: warning: method redefined; discarding old test_spec_type_wont_match_non_space_characters actionpack/test/controller/spec_type_test.rb:30: warning: previous definition of test_spec_type_wont_match_non_space_characters was here
1 parent 7f41a08 commit 610cf9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actionpack/test/controller/spec_type_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class ApplicationController < ActionController::Base; end
44
class ModelsController < ApplicationController; end
55

6-
class SpecTypeTest < ActiveSupport::TestCase
6+
class ActionControllerSpecTypeTest < ActiveSupport::TestCase
77
def assert_controller actual
88
assert_equal ActionController::TestCase, actual
99
end

actionpack/test/template/spec_type_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'abstract_unit'
22

3-
class SpecTypeTest < ActiveSupport::TestCase
3+
class ActionViewSpecTypeTest < ActiveSupport::TestCase
44
def assert_view actual
55
assert_equal ActionView::TestCase, actual
66
end

0 commit comments

Comments
 (0)