method

post

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

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