1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove not used env[] call in routing_test.

The commit 4c321c6d42 removes the path_params variable assignment, actually the entire line is not used at all.
This commit is contained in:
Carlos Antonio da Silva 2012-01-27 19:48:53 -02:00
parent b495a8dba8
commit b09aca6e3d

View file

@ -2550,7 +2550,6 @@ class TestUnicodePaths < ActionDispatch::IntegrationTest
Routes = ActionDispatch::Routing::RouteSet.new.tap do |app|
app.draw do
match "/#{Rack::Utils.escape("ほげ")}" => lambda { |env|
env['action_dispatch.request.path_parameters']
[200, { 'Content-Type' => 'text/plain' }, []]
}, :as => :unicode_path
end