aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-07-09 19:15:31 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-07-10 14:19:10 -0700
commit11bc0789281760267730e0cae63bba5d7e566152 (patch)
treee0cf8bcd6dfcc3f64d6d58dcf22e58cd3e17ce81 /actionpack/lib
parent79ab81266327e4ee59810c8556091c6f4ee9cfe5 (diff)
downloadrails-11bc0789281760267730e0cae63bba5d7e566152.tar.gz
rails-11bc0789281760267730e0cae63bba5d7e566152.tar.bz2
rails-11bc0789281760267730e0cae63bba5d7e566152.zip
no more HWIA
non_path_parameters is used internally (it never escapes this method) so we should be able to safely use a regular hash.
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index 8ae2ccca39..6d362a9fd8 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -45,7 +45,7 @@ module ActionController
def assign_parameters(routes, controller_path, action, parameters = {})
parameters = parameters.symbolize_keys
extra_keys = routes.extra_keys(parameters.merge(:controller => controller_path, :action => action))
- non_path_parameters = {}.with_indifferent_access
+ non_path_parameters = {}
parameters.each do |key, value|
if extra_keys.include?(key) || key == :action || key == :controller