adapter_auth.feature 453 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
Feature: Does the adapter authenticate?
  When an adapter instance is created it authenticates and receives a token

  Scenario: A token is granted with valid config
    Given valid config
    When the adapter instance is created
    When the auth method is called
    Then the adapter credentials are populated

  Scenario: Auth fails with invalid config
    Given invalid config
    When the adapter instance is created
    Then the adapter auth fails