method
html_document
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Assertions::TagAssertions
html_document()public
No documentation available.
# File actionpack/lib/action_dispatch/testing/assertions/tag.rb, line 132
def html_document
xml = @response.content_type =~ /xml$/
@html_document ||= HTML::Document.new(@response.body, false, xml)
end