instance method
response_from_page
Ruby on Rails 3.1.12
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 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