Sha256: e1b9d63a1967f675eca7e05c3a91ca3cc79bccc31ba2fe3371ee160bdf49058a

Contents?: true

Size: 756 Bytes

Versions: 2

Compression:

Stored size: 756 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 "gcli commit get"
      And the output should contain "gcli 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

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.5.5 features/commit.feature
github_cli-0.5.4 features/commit.feature