aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_test.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-03 15:27:30 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-03 15:28:32 +0900
commitf282626281317194bb88a750343ae9e827ba702d (patch)
treee5f81109c2e9e82021a958514842161018eed310 /actionpack/test/dispatch/routing_test.rb
parent55c5dffd9f2220507ff1a7635c00a81577a8a391 (diff)
downloadrails-f282626281317194bb88a750343ae9e827ba702d.tar.gz
rails-f282626281317194bb88a750343ae9e827ba702d.tar.bz2
rails-f282626281317194bb88a750343ae9e827ba702d.zip
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 ```
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
-rw-r--r--actionpack/test/dispatch/routing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index eec34dba66..6ba52e37b6 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -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"