instance method
process_with_kwargs
Ruby on Rails 5.0.7.2
Since v5.0.7.2 Last seen in v5.0.7.2 Private — implementation detail, not part of the public APISignature
process_with_kwargs(http_method, action, *args)
No documentation comment.
Parameters
-
http_methodreq -
actionreq -
argsrest
Source
# File actionpack/lib/action_controller/test_case.rb, line 641
def process_with_kwargs(http_method, action, *args)
if kwarg_request?(args)
args.first.merge!(method: http_method)
process(action, *args)
else
non_kwarg_request_warning if args.any?
args = args.unshift(http_method)
process(action, *args)
end
end
Defined in actionpack/lib/action_controller/test_case.rb line 641
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase::Behavior