aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-18 14:34:09 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-18 14:34:09 -0700
commitd14d41282e90c5e32edeeda79014a2f83b907b73 (patch)
treebf3abe3178ff1f468a6c1226b1c3ebf286be6c46 /actionpack
parentb8b7664415f9d6668156280a8ed051dc04786115 (diff)
downloadrails-d14d41282e90c5e32edeeda79014a2f83b907b73.tar.gz
rails-d14d41282e90c5e32edeeda79014a2f83b907b73.tar.bz2
rails-d14d41282e90c5e32edeeda79014a2f83b907b73.zip
all parameter parsing is done through the request object now.
Diffstat (limited to 'actionpack')
-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 c360cfd542..869f8e432b 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -91,8 +91,8 @@ module ActionController
when :url_encoded_form
data = non_path_parameters.to_query
else
+ @custom_param_parsers[content_mime_type] = ->(_) { non_path_parameters }
data = non_path_parameters.to_query
- self.request_parameters = non_path_parameters
end
end