instance method
response_from_page
Ruby on Rails 3.2.22.5
Since v3.1.12 Last seen in v4.1.16Signature
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 430
def response_from_page
html_document.root
end
Defined in actionpack/lib/action_dispatch/testing/assertions/selector.rb line 430
· View on GitHub
· Improve this page
· Find usages on GitHub