method

html_document

rails latest stable - Class: ActionDispatch::Assertions::TagAssertions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

html_document()
public

No documentation available.

# File actionpack/lib/action_dispatch/testing/assertions/tag.rb, line 129
      def html_document
        xml = @response.content_type =~ /xml$/
        @html_document ||= HTML::Document.new(@response.body, false, xml)
      end