instance method
html_document
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
html_document()
No documentation comment.
Source
# File actionpack/lib/action_controller/test_process.rb, line 494
def html_document
xml = @response.content_type =~ /xml$/
@html_document ||= HTML::Document.new(@response.body, false, xml)
end
Defined in actionpack/lib/action_controller/test_process.rb line 494
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestProcess