diff options
author | kennyj <kennyj@gmail.com> | 2012-01-28 01:16:32 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-01-28 01:16:32 +0900 |
commit | 4c321c6d42b6e35f9ead12eb1dccdead03c5abf4 (patch) | |
tree | 50f0adb8f809c7f77291ab806499cb733ee4a9e2 /actionpack/test | |
parent | f22a0e2f1d55af4c16abbe29158d190053374a76 (diff) | |
download | rails-4c321c6d42b6e35f9ead12eb1dccdead03c5abf4.tar.gz rails-4c321c6d42b6e35f9ead12eb1dccdead03c5abf4.tar.bz2 rails-4c321c6d42b6e35f9ead12eb1dccdead03c5abf4.zip |
Fix warning. assigned but unused variable - path_params
Diffstat (limited to 'actionpack/test')
-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 3689b17877..711c03eca6 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -2550,7 +2550,7 @@ class TestUnicodePaths < ActionDispatch::IntegrationTest Routes = ActionDispatch::Routing::RouteSet.new.tap do |app| app.draw do match "/#{Rack::Utils.escape("ほげ")}" => lambda { |env| - path_params = env['action_dispatch.request.path_parameters'] + env['action_dispatch.request.path_parameters'] [200, { 'Content-Type' => 'text/plain' }, []] }, :as => :unicode_path end |