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
@ -3693,7 +3693,7 @@ def test_multiple_roots
|
|||||||
assert_equal "admin/pages#index", @response.body
|
assert_equal "admin/pages#index", @response.body
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_namespaced_roots
|
def test_multiple_namespaced_roots
|
||||||
draw do
|
draw do
|
||||||
namespace :foo do
|
namespace :foo do
|
||||||
root "test#index"
|
root "test#index"
|
||||||
|
Loading…
Reference in New Issue
Block a user