instance method response_from_page

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v4.1.16

Available in: v3.1.12 v3.2.22.5 v4.0.13 v4.1.16

Signature

response_from_page()

assert_select and css_select call this to obtain the content in the HTML page.

Source
# File actionpack/lib/action_dispatch/testing/assertions/selector.rb, line 429
        def response_from_page
          html_document.root
        end

Defined in actionpack/lib/action_dispatch/testing/assertions/selector.rb line 429 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Assertions::SelectorAssertions

Type at least 2 characters to search.

↑↓ navigate · open · esc close