Sha256: ccc5e094373024e2ac9a7a02ea5453cbd2ac655223a19548975268fbc43aa658

Contents?: true

Size: 746 Bytes

Versions: 7

Compression:

Stored size: 746 Bytes

Contents

Feature: gcli commit

  @ci-run
  Scenario: Available commands

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

  Scenario: Get commit
    Given the GitHub API server:
    """
    get('/repos/wycats/thor/git/commits/59b23de9b91d') { status 200 }
    """
    When I run `gcli commit get wycats thor 59b23de9b91d`
    Then the exit status should be 0

  Scenario: Create commit
    Given the GitHub API server:
    """
    post('/repos/wycats/thor/git/commits') { status 200 }
    """
    When I run `gcli commit create wycats thor --message='my commit' --tree=827efc --parents=['7d1b31e']`
    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/commit.feature
github_cli-0.6.1 features/commit.feature
github_cli-0.6.0 features/commit.feature
github_cli-0.5.9 features/commit.feature
github_cli-0.5.8 features/commit.feature
github_cli-0.5.7 features/commit.feature
github_cli-0.5.6 features/commit.feature