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