Sha256: af3b8c1ba5d95540562d3b36bd219f35276d4e83ceb5c7ceea26d5b94b2abd60

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

Feature: gcli org

  @ci-run
  Scenario: Available commands

    When I run `gcli org`
    Then the exit status should be 0
      And the output should contain "org edit"
      And the output should contain "org list"
      And the output should contain "org get"

  Scenario: List public organizations for a user
    Given the GitHub API server:
    """
    get('/users/wycats/orgs') { status 200 }
    """
    When I run `gcli org ls --user=wycats`
    Then the exit status should be 0

  Scenario: List public organizations for the authenticated user
    Given the GitHub API server:
    """
    get('/user/orgs') { status 200 }
    """
    When I run `gcli org ls`
    Then the exit status should be 0

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

  Scenario: Edit an organization
    Given the GitHub API server:
    """
    patch('/orgs/rails') { status 200 }
    """
    When I run `gcli org edit rails --name=github --company=GitHub --email=support@github.com`
    Then the exit status should be 0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
github_cli-0.6.2 features/organization.feature
github_cli-0.6.1 features/organization.feature
github_cli-0.6.0 features/organization.feature