instance method
patch
Ruby on Rails 7.2.3
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 -
argskeyrest
Source
# File actionpack/lib/action_controller/test_case.rb, line 441
def patch(action, **args)
process(action, method: "PATCH", **args)
end
Defined in actionpack/lib/action_controller/test_case.rb line 441
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase::Behavior