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