Sha256: e59ef87edaa3e6d48a3a855a2b77e794982d61fb5e19a421d20b68bb36acae52
Contents?: true
Size: 981 Bytes
Versions: 83
Compression:
Stored size: 981 Bytes
Contents
Feature: Digest Authentication As a developer I want to be able to use a service that requires Digest Authentication Because that is not an uncommon requirement Scenario: Passing no credentials to a page requiring Digest Authentication Given a restricted page at '/digest_auth.html' When I call HTTParty#get with '/digest_auth.html' Then it should return a response with a 401 response code Scenario: Passing proper credentials to a page requiring Digest Authentication Given a remote service that returns 'Digest Authenticated Page' And that service is accessed at the path '/digest_auth.html' And that service is protected by Digest Authentication And that service requires the username 'jcash' with the password 'maninblack' When I call HTTParty#get with '/digest_auth.html' and a digest_auth hash: | username | password | | jcash | maninblack | Then the return value should match 'Digest Authenticated Page'
Version data entries
83 entries across 82 versions & 14 rubygems