method

setup_with_controller

rails latest stable - Class: ActionView::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

setup_with_controller()
public

No documentation available.

# File actionpack/lib/action_view/test_case.rb, line 54
    def setup_with_controller
      @controller = TestController.new
      @output_buffer = ''
      @rendered = ''

      self.class.send(:include_helper_modules!)
      make_test_case_available_to_view!
    end