diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-29 01:46:51 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-29 01:46:51 -0300 |
commit | 1855312db964aa6b9ae7d2b3a3e5d9f54da1d163 (patch) | |
tree | 06b2fac06822e557972f620110e581158ac04a73 | |
parent | e229b432f97e09ff97e1c3c6e7a549b0c0269181 (diff) | |
parent | 388124e411793b8c6d014569bd07264192f369a2 (diff) | |
download | rails-1855312db964aa6b9ae7d2b3a3e5d9f54da1d163.tar.gz rails-1855312db964aa6b9ae7d2b3a3e5d9f54da1d163.tar.bz2 rails-1855312db964aa6b9ae7d2b3a3e5d9f54da1d163.zip |
Merge pull request #21811 from akihiro17/remove-unused-test-code
Remove TestRouter#add_routes
-rw-r--r-- | actionpack/test/journey/router_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/actionpack/test/journey/router_test.rb b/actionpack/test/journey/router_test.rb index 6a3af32946..15d51e5d6c 100644 --- a/actionpack/test/journey/router_test.rb +++ b/actionpack/test/journey/router_test.rb @@ -497,17 +497,6 @@ module ActionDispatch private - def add_routes router, paths, anchor = true - paths.each do |path| - if String === path - path = Path::Pattern.from_string path - else - path - end - add_route @app, path, {}, [], {}, {} - end - end - def rails_env env, klass = ActionDispatch::Request klass.new(rack_env(env)) end |