instance method
delete
Ruby on Rails 7.2.3
Since v3.0.20Signature
delete(action, **args)
Simulate a DELETE 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 453
def delete(action, **args)
process(action, method: "DELETE", **args)
end
Defined in actionpack/lib/action_controller/test_case.rb line 453
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase::Behavior