instance method
patch
Ruby on Rails 5.0.7.2
Since v4.0.13Signature
patch(action, *args)
Simulate a PATCH request with the given parameters and set/volley the response. See get for more details.
Parameters
-
actionreq -
argsrest
Source
# File actionpack/lib/action_controller/test_case.rb, line 402
def patch(action, *args)
process_with_kwargs("PATCH", action, *args)
end
Defined in actionpack/lib/action_controller/test_case.rb line 402
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase::Behavior