Methods

Included Modules

Attributes

[RW] controller_path

Overrides AbstractController::Base#controller_path

[RW] params
[RW] request
[RW] response

Class Public methods

controller_name()

📝 Source code
# File actionview/lib/action_view/test_case.rb, line 30
      def self.controller_name
        "test"
      end
🔎 See on GitHub

new()

📝 Source code
# 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
🔎 See on GitHub

Instance Public methods

controller_path=(path)

📝 Source code
# File actionview/lib/action_view/test_case.rb, line 26
      def controller_path=(path)
        self.class.controller_path = path
      end
🔎 See on GitHub