diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-09-03 15:27:30 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-09-03 15:28:32 +0900 |
commit | f282626281317194bb88a750343ae9e827ba702d (patch) | |
tree | e5f81109c2e9e82021a958514842161018eed310 /actionpack/test/dispatch | |
parent | 55c5dffd9f2220507ff1a7635c00a81577a8a391 (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 2 |
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" |