Sha256: 14f306be3cc1f4fb22c0a68cffa5a8088e15241bafbb0dae0d4085a16dc35dee

Contents?: true

Size: 863 Bytes

Versions: 5

Compression:

Stored size: 863 Bytes

Contents

Feature: gcli email

  Scenario: Available commands

    When I run `gcli email`
    Then the exit status should be 0
      And the output should contain "gcli email delete"
      And the output should contain "gcli email list"
      And the output should contain "gcli email add"

  Scenario: List emails
    Given the GitHub API server:
    """
    get('/user/emails') { status 200 }
    """
    When I run `gcli email ls`
    Then the exit status should be 0

  Scenario: Add emails
    Given the GitHub API server:
    """
    post('/user/emails') { status 200 }
    """
    When I run `gcli email add user@github.com`
    Then the exit status should be 0

  Scenario: Delete emails
    Given the GitHub API server:
    """
    delete('/user/emails') { status 200 }
    """
    When I run `gcli email del user@github.com`
    Then the exit status should be 0

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
github_cli-0.5.4 features/email.feature
github_cli-0.5.3 features/email.feature
github_cli-0.5.2 features/email.feature
github_cli-0.5.1 features/email.feature
github_cli-0.5.0 features/email.feature