Method: ActionController::TestCase::Behavior#delete

Defined in:
actionpack/lib/action_controller/test_case.rb

#delete(action, **args) ⇒ Object

Simulate a DELETE request with the given parameters and set/volley the response. See ‘get` for more details.



453
454
455
# File 'actionpack/lib/action_controller/test_case.rb', line 453

def delete(action, **args)
  process(action, method: "DELETE", **args)
end