method
new
new()
public
Hide source
# File actionpack/lib/action_view/test_case.rb, line 22 def initialize self.class.controller_path = "" @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new @request.env.delete('PATH_INFO') @params = {} end