Sha256: 868411dbce8e628f28ce0432ba8828b0ad7da07352bd177ca6ae2b78ae320ab6

Contents?: true

Size: 1.52 KB

Versions: 7

Compression:

Stored size: 1.52 KB

Contents

Feature: Configuration, Configuration, Configuration

  Scenario: create an app instance inside a git repo without config

    Given a git repo in directory "blegga"
      And the "SEMAPHORE_AUTH_TOKEN" env variable is not set
      And the "SEMAPHORE_PROJECT_TOKEN" env variable is not set
     Then the application doesn't have an auth token
      And the application doesn't have a project token

  Scenario: create an app instance inside a git repo with config

    Given a git repo in directory "blegga" with config:
        | semaphore.authtoken     | foo    |
        | semaphore.projecttoken  | bar    |
     Then the application uses "foo" as the auth token
      And the application uses "bar" as the project token

  Scenario: create an app instance inside a git repo without config

    Given a git repo in directory "blegga"
      And a runtime environment with config:
        | SEMAPHORE_AUTH_TOKEN    | foofoo |
        | SEMAPHORE_PROJECT_TOKEN | barbar |
     Then the application uses "foofoo" as the auth token
      And the application uses "barbar" as the project token

  Scenario: create an app instance inside a git repo with config

    Given a git repo in directory "blegga" with config:
        | semaphore.authtoken     | foo    |
        | semaphore.projecttoken  | bar    |
      And a runtime environment with config:
        | SEMAPHORE_AUTH_TOKEN    | foofoo |
        | SEMAPHORE_PROJECT_TOKEN | barbar |
     Then the application uses "foo" as the auth token
      And the application uses "bar" as the project token

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
git-semaphore-0.0.9 features/semaphore_app_config.feature
git-semaphore-0.0.7 features/semaphore_app_config.feature
git-semaphore-0.0.6 features/semaphore_app_config.feature
git-semaphore-0.0.5 features/semaphore_app_config.feature
git-semaphore-0.0.4 features/semaphore_app_config.feature
git-semaphore-0.0.3 features/semaphore_app_config.feature
git-semaphore-0.0.2 features/semaphore_app_config.feature