Sha256: 68f8e085c17b8e94dfcc6a7689714290da2244857eb53a9d60c8b9bcba40cede

Contents?: true

Size: 1.21 KB

Versions: 7

Compression:

Stored size: 1.21 KB

Contents

Feature: Always Carry Identification Wherever You Go

  Scenario: run the main script with the project token set in the env

    Given the "SEMAPHORE_PROJECT_TOKEN" env variable is set
     When I run `git-semaphore --check-project` in a git working dir
     Then the exit status should be 0
      And the stderr should contain exactly:
        """
        """

  Scenario: run the main script with the project token set in git config

    Given "semaphore.projecttoken" git config is set for git repo "blegga"
     When I run `git-semaphore --check-project` in "blegga" directory
     Then the exit status should be 0
      And the stderr should contain exactly:
        """
        """

  Scenario: run the main script with the project token not set in the env

    Given the "SEMAPHORE_PROJECT_TOKEN" env variable is not set
      And "semaphore.projecttoken" git config is not set for git repo "blegga"
     When I run `git-semaphore --check-project` in "blegga" directory
     Then the exit status should be 255
      And the stderr should contain exactly:
        """
        Please set - and export - the SEMAPHORE_PROJECT_TOKEN env variable
        Alternatively, set semaphore.projecttoken in your local git config

        """

Version data entries

7 entries across 7 versions & 1 rubygems

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