aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-10 14:14:22 -0700
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-10 14:14:22 -0700
commit618b38ef2b220e4d89425d1bd3ac08a6dca8f207 (patch)
tree52f5fed8aee787ff21b152ef1fe9de1cd1138943 /actionpack
parent9432c55f12afbeb752e5123767c793cfcfeafede (diff)
parenta0906da6b3a6fd9a123a45e03f0b6167d4c93dc4 (diff)
downloadrails-618b38ef2b220e4d89425d1bd3ac08a6dca8f207.tar.gz
rails-618b38ef2b220e4d89425d1bd3ac08a6dca8f207.tar.bz2
rails-618b38ef2b220e4d89425d1bd3ac08a6dca8f207.zip
Merge pull request #9651 from vipulnsward/change_to_each_value_intest
Change from each to each_value on hash to avoid unused variable warning
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb
index e9b59f55a7..9169658c22 100644
--- a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb
+++ b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb
@@ -164,7 +164,7 @@ class UrlEncodedParamsParsingTest < ActionDispatch::IntegrationTest
return
end
- object.each do |k,v|
+ object.each_value do |v|
case v
when Hash
assert_utf8(v)