Flowdock
method

setup_with_controller

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: ActionView::TestCase::Behavior
setup_with_controller() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/test_case.rb, line 99
      def setup_with_controller
        @controller = ActionView::TestCase::TestController.new
        @request = @controller.request
        @output_buffer = ActiveSupport::SafeBuffer.new
        @rendered = ''

        make_test_case_available_to_view!
        say_no_to_protect_against_forgery!
      end
Register or log in to add new notes.