Class: XmlLoginProxy
- Inherits:
-
BaseLoginProxy
- Object
- BaseLoginProxy
- XmlLoginProxy
- Defined in:
- lib/authenticated_test_helper.rb
Instance Attribute Summary
Attributes inherited from BaseLoginProxy
Instance Method Summary (collapse)
- - (Object) authenticate protected
- - (Object) check protected
Methods inherited from BaseLoginProxy
#authenticated, #initialize, #method_missing
Constructor Details
This class inherits a constructor from BaseLoginProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class BaseLoginProxy
Instance Method Details
- (Object) authenticate (protected)
105 106 107 108 |
# File 'lib/authenticated_test_helper.rb', line 105 def authenticate @controller.accept 'application/xml' @controller. @login if @login end |
- (Object) check (protected)
110 111 112 |
# File 'lib/authenticated_test_helper.rb', line 110 def check @controller.assert_response 401 end |