Sha256: aa0aedf1492617e78dc4099e39189764c1d342ed117e105f21a861fadbd41b99

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

Feature: ghc email

  Scenario: Available commands

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

  Scenario: List emails
    Given the GitHub API server:
    """
    get('/user/emails') { status 200 }
    """
    When I run `ghc 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 `ghc 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 `ghc email del user@github.com`
    Then the exit status should be 0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.4.4 features/email.feature
github_cli-0.4.3 features/email.feature