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:
parent
b495a8dba8
commit
b09aca6e3d
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue