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