method

head

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

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