method

setup_with_controller

rails latest stable - Class: ActionController::TestCase

Method deprecated or moved

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

setup_with_controller()
public

No documentation available.

# File actionpack/lib/action_controller/test_case.rb, line 53
    def setup_with_controller
      @controller = self.class.controller_class.new
      @request    = TestRequest.new
      @response   = TestResponse.new
    end