Method: ActionController::TestCase::Behavior#head

Defined in:
actionpack/lib/action_controller/test_case.rb

#head(action, **args) ⇒ Object

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



459
460
461
# File 'actionpack/lib/action_controller/test_case.rb', line 459

def head(action, **args)
  process(action, method: "HEAD", **args)
end