instance method response_from_page

Ruby on Rails 3.2.22.5

Since v3.1.12 Last seen in v4.1.16 Private — implementation detail, not part of the public API

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

Signature

response_from_page()

Support the selector assertions

Need to experiment if this priority is the best one: rendered => output_buffer

Source
# File actionpack/lib/action_view/test_case.rb, line 132
      def response_from_page
        HTML::Document.new(@rendered.blank? ? @output_buffer : @rendered).root
      end

Defined in actionpack/lib/action_view/test_case.rb line 132 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::TestCase::Behavior

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close