Sha256: fb1ff31bbc5e67cc21f69fcc52eead9dc3611d9daf6b6249d6d8e9b8e7e11a34

Contents?: true

Size: 995 Bytes

Versions: 7

Compression:

Stored size: 995 Bytes

Contents

Feature: gcli user

  @ci-run
  Scenario: Available commands

    When I run `gcli user`
    Then the exit status should be 0
      And the output should contain "user get"
      And the output should contain "user update"

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

  Scenario: Get user
    Given the GitHub API server:
    """
    get('/users/wycats') { status 200 }
    """
    When I run `gcli user get -u wycats`
    Then the exit status should be 0

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

  Scenario: Update the authenticated user
    Given the GitHub API server:
    """
    patch('/user') { status 200 }
    """
    When I run `gcli user update --name=peter-murach`
    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/user.feature
github_cli-0.6.1 features/user.feature
github_cli-0.6.0 features/user.feature
github_cli-0.5.9 features/user.feature
github_cli-0.5.8 features/user.feature
github_cli-0.5.7 features/user.feature
github_cli-0.5.6 features/user.feature