From 4fa10300ef451f154916be7e301b7b047a0b4fa3 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 5 Jan 2012 14:38:36 -0800 Subject: fix some whitespace errors --- actionpack/lib/action_controller/test_case.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index ac2e0fcb83..e96ff82a5a 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -432,13 +432,13 @@ module ActionController def process(action, http_method = 'GET', *args) check_required_ivars http_method, args = handle_old_process_api(http_method, args) - + if args.first.is_a?(String) @request.env['RAW_POST_DATA'] = args.shift end - + parameters, session, flash = args - + # Ensure that numbers and symbols passed as params are converted to # proper params, as is the case when engaging rack. parameters = paramify_values(parameters) @@ -512,7 +512,7 @@ module ActionController end end end - + def handle_old_process_api(http_method, args) # 4.0: Remove this method. if http_method.is_a?(Hash) @@ -520,7 +520,7 @@ module ActionController args.unshift(http_method) http_method = args.last.is_a?(String) ? args.last : "GET" end - + [http_method, args] end -- cgit v1.2.3