diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 14:38:36 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 14:38:51 -0800 |
commit | 4fa10300ef451f154916be7e301b7b047a0b4fa3 (patch) | |
tree | 30afafb70e5ab62f34449d1c9d2d6aeb38adcafb | |
parent | 675094b2757cf90399dadca4489b1036810ae570 (diff) | |
download | rails-4fa10300ef451f154916be7e301b7b047a0b4fa3.tar.gz rails-4fa10300ef451f154916be7e301b7b047a0b4fa3.tar.bz2 rails-4fa10300ef451f154916be7e301b7b047a0b4fa3.zip |
fix some whitespace errors
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 10 |
1 files changed, 5 insertions, 5 deletions
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 |