class Authlogic::TestCase::MockAPIController
Basically acts like an API controller but doesn’t do anything. Authlogic
can interact with this, do it’s thing and then you can look at the controller object to see if anything changed.
Attributes
Public Class Methods
Public Instance Methods
Source
# File lib/authlogic/test_case/mock_api_controller.rb, line 21 def logger @logger ||= MockLogger.new end
Source
# File lib/authlogic/test_case/mock_api_controller.rb, line 25 def params @params ||= {} end
Source
# File lib/authlogic/test_case/mock_api_controller.rb, line 29 def request @request ||= MockRequest.new(self) end
Source
# File lib/authlogic/test_case/mock_api_controller.rb, line 33 def request_content_type @request_content_type ||= "text/html" end
Source
# File lib/authlogic/test_case/mock_api_controller.rb, line 37 def session @session ||= {} end