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

Version Path
alloy_sdk-0.1.0 vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/digest_authentication.feature
alloy_sdk-0.1.0 vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/digest_authentication.feature
httpserious-0.13.5.lstoll1 features/digest_authentication.feature
httparty-0.13.5 features/digest_authentication.feature
httparty-0.13.4 features/digest_authentication.feature
httsoiree-0.13.3 features/digest_authentication.feature
allegro_api_client-0.0.9 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
httparty-0.13.3 features/digest_authentication.feature
allegro_api_client-0.0.8 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
allegro_api_client-0.0.7 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
httparty-0.13.2 features/digest_authentication.feature
asana2flowdock-1.0.0 vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/digest_authentication.feature
allegro_api_client-0.0.6 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
allegro_api_client-0.0.5 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
allegro_api_client-0.0.4 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
allegro_api_client-0.0.3 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
allegro_api_client-0.0.2 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
allegro_api_client-0.0.1 gems/ruby/2.1.0/gems/httparty-0.13.1/features/digest_authentication.feature
httsoiree-0.13.1.1 features/digest_authentication.feature
httsoiree-0.13.1 features/digest_authentication.feature