instance method
response_from_page
Ruby on Rails 4.1.16
Since v3.1.12 Last seen in v4.1.16 PrivateSignature
response_from_page()
Support the selector assertions
Need to experiment if this priority is the best one: rendered => output_buffer
Source
# File actionview/lib/action_view/test_case.rb, line 157
def response_from_page
HTML::Document.new(@rendered.blank? ? @output_buffer : @rendered).root
end
Defined in actionview/lib/action_view/test_case.rb line 157
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::TestCase::Behavior