class ActionView::TestCase::TestController
def self.controller_name
def self.controller_name "test" end
def controller_path=(path)
def controller_path=(path) self.class.controller_path = path end
def initialize
def initialize super self.class.controller_path = "" @request = ActionController::TestRequest.create(self.class) @response = ActionDispatch::TestResponse.new @request.env.delete("PATH_INFO") @params = ActionController::Parameters.new end