Sha256: 6c1b6d705db92db1e14e0ae80019cb2616ae805deec79596e39335210e4c0001

Contents?: true

Size: 858 Bytes

Versions: 7

Compression:

Stored size: 858 Bytes

Contents

Feature: gcli email

  @ci-run
  Scenario: Available commands

    When I run `gcli email`
    Then the exit status should be 0
      And the output should contain "email delete"
      And the output should contain "email list"
      And the output should contain "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

7 entries across 7 versions & 1 rubygems

Version Path
github_cli-0.6.2 features/email.feature
github_cli-0.6.1 features/email.feature
github_cli-0.6.0 features/email.feature
github_cli-0.5.9 features/email.feature
github_cli-0.5.8 features/email.feature
github_cli-0.5.7 features/email.feature
github_cli-0.5.6 features/email.feature