method
html_format?
v4.0.2 -
Show latest stable
- Class:
ActionController::TestCase::Behavior
html_format?(parameters)private
No documentation available.
# File actionpack/lib/action_controller/test_case.rb, line 659
def html_format?(parameters)
return true unless parameters.is_a?(Hash)
Mime.fetch(parameters[:format]) { Mime['html'] }.html?
end