Permalink
Browse files

Remove not used env[] call in routing_test.

The commit 4c321c6 removes the path_params variable assignment, actually the entire line is not used at all.
  • Loading branch information...
1 parent b495a8d commit b09aca6e3d050b61725c61efa07d22e1629a1700 @carlosantoniodasilva carlosantoniodasilva committed Jan 27, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 actionpack/test/dispatch/routing_test.rb
View
1 actionpack/test/dispatch/routing_test.rb
@@ -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

0 comments on commit b09aca6

Please sign in to comment.