method

put

rails latest stable - Class: ActionController::TestCase::Behavior
put(action, **args)
public

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