instance method response_from_page_or_rjs

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18 Private

Signature

response_from_page_or_rjs()

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 128
      def response_from_page_or_rjs
        HTML::Document.new(rendered.blank? ? output_buffer : rendered).root
      end

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

Defined in ActionView::TestCase

Type at least 2 characters to search.

↑↓ navigate · open · esc close