Sha256: ade191591c6235e19815ac8aab8a5bc74843c0bf273f36d7514d90d099f41df9

Contents?: true

Size: 1.13 KB

Versions: 10

Compression:

Stored size: 1.13 KB

Contents

Feature: gcli org

  Scenario: Available commands

    When I run `gcli org`
    Then the exit status should be 0
      And the output should contain "gcli org edit"
      And the output should contain "gcli org list"
      And the output should contain "gcli 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 --params=name:github company:GitHub email:support@github.com`
    Then the exit status should be 0

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
github_cli-0.5.9 features/organization.feature
github_cli-0.5.8 features/organization.feature
github_cli-0.5.7 features/organization.feature
github_cli-0.5.6 features/organization.feature
github_cli-0.5.5 features/organization.feature
github_cli-0.5.4 features/organization.feature
github_cli-0.5.3 features/organization.feature
github_cli-0.5.2 features/organization.feature
github_cli-0.5.1 features/organization.feature
github_cli-0.5.0 features/organization.feature