Method: ActionController::TestCase::Behavior#patch
- Defined in:
- actionpack/lib/action_controller/test_case.rb
#patch(action, **args) ⇒ Object
Simulate a PATCH request with the given parameters and set/volley the response. See ‘get` for more details.
441 442 443 |
# File 'actionpack/lib/action_controller/test_case.rb', line 441 def patch(action, **args) process(action, method: "PATCH", **args) end |