Sha256: b58a68f35fd782a61dff3e52766b5e5cbeb1a7660aa9e4fb5fa3455db53cd304

Contents?: true

Size: 943 Bytes

Versions: 7

Compression:

Stored size: 943 Bytes

Contents

Feature: gcli tree

  @ci-run
  Scenario: Available commands

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

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

  Scenario: Get tree recursively
    Given the GitHub API server:
    """
    get('/repos/wycats/thor/git/trees/827efc6d5') { status 200 }
    """
    When I run `gcli tree get wycats thor 827efc6d5 --recursive`
    Then the exit status should be 0

  Scenario: Create tree
    Given the Github API server:
    """
    post('/repos/wycats/thor/git/trees') { status 200 }
    """
    When I run `gcli tree create wycats thor --tree='path:file1 mode:00111'`
    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/tree.feature
github_cli-0.6.1 features/tree.feature
github_cli-0.6.0 features/tree.feature
github_cli-0.5.9 features/tree.feature
github_cli-0.5.8 features/tree.feature
github_cli-0.5.7 features/tree.feature
github_cli-0.5.6 features/tree.feature