edge badge
Methods
C
N
Included Modules
Attributes
[W] controller_path
[RW] params
[RW] request
[RW] response
Class Public methods
new()
# File actionview/lib/action_view/test_case.rb, line 22
def initialize
  super
  self.class.controller_path = ""
  @request = ActionController::TestRequest.new
  @response = ActionController::TestResponse.new

  @request.env.delete('PATH_INFO')
  @params = {}
end
Instance Public methods
controller_path=(path)
# File actionview/lib/action_view/test_case.rb, line 18
def controller_path=(path)
  self.class.controller_path=(path)
end