diff options
author | kennyj <kennyj@gmail.com> | 2013-06-28 01:42:07 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2013-06-28 01:42:07 +0900 |
commit | db0499a6b6c23d03c7b03948e569902526c86acd (patch) | |
tree | b0dadc36d087e6f614e430e47f65fa637e80e00e /actionpack/lib | |
parent | 34127787bbe28cedb8f9a493531582b05f0b437a (diff) | |
download | rails-db0499a6b6c23d03c7b03948e569902526c86acd.tar.gz rails-db0499a6b6c23d03c7b03948e569902526c86acd.tar.bz2 rails-db0499a6b6c23d03c7b03948e569902526c86acd.zip |
Re-remove deprecated API.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 0cbbbbe1fd..5ed3d2ebc1 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -524,7 +524,6 @@ module ActionController def process(action, http_method = 'GET', *args) check_required_ivars - http_method, args = handle_old_process_api(http_method, args, caller) if args.first.is_a?(String) && http_method != 'HEAD' @request.env['RAW_POST_DATA'] = args.shift @@ -628,17 +627,6 @@ module ActionController end end - def handle_old_process_api(http_method, args, callstack) - # 4.0: Remove this method. - if http_method.is_a?(Hash) - ActiveSupport::Deprecation.warn("TestCase#process now expects the HTTP method as second argument: process(action, http_method, params, session, flash)", callstack) - args.unshift(http_method) - http_method = args.last.is_a?(String) ? args.last : "GET" - end - - [http_method, args] - end - def build_request_uri(action, parameters) unless @request.env["PATH_INFO"] options = @controller.respond_to?(:url_options) ? @controller.__send__(:url_options).merge(parameters) : parameters |