mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
rename test method to avoid overriding
This removes the following warning. ``` ./test/dispatch/routing_test.rb:3696: warning: method redefined; discarding old test_namespaced_roots ./test/dispatch/routing_test.rb:1632: warning: previous definition of test_namespaced_roots was here ```
This commit is contained in:
parent
55c5dffd9f
commit
f282626281
1 changed files with 1 additions and 1 deletions
|
@ -3693,7 +3693,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
|
|||
assert_equal "admin/pages#index", @response.body
|
||||
end
|
||||
|
||||
def test_namespaced_roots
|
||||
def test_multiple_namespaced_roots
|
||||
draw do
|
||||
namespace :foo do
|
||||
root "test#index"
|
||||
|
|
Loading…
Reference in a new issue