method
new
new()
public
Hide source
# File actionview/lib/action_view/test_case.rb, line 24 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