Methods
Included Modules
Attributes
[RW] | controller_path | Overrides |
[RW] | params | |
[RW] | request | |
[RW] | response |
Class Public methods
controller_name() Link
new() Link
# File actionview/lib/action_view/test_case.rb, line 34 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