Sha256: a97fd17ce78b4322fbd84a0481ad895af7d5f1f85aa9afff625f35301c64d196

Contents?: true

Size: 1.3 KB

Versions: 10

Compression:

Stored size: 1.3 KB

Contents

Feature: gcli download

  Scenario: Available commands

    When I run `gcli download`
    Then the exit status should be 0
      And the output should contain "gcli download create"
      And the output should contain "gcli download delete"
      And the output should contain "gcli download get"
      And the output should contain "gcli download list"
      And the output should contain "gcli download upload"

  Scenario: List downloads
    Given the GitHub API server:
    """
    get('/repos/wycats/thor/downloads') { status 200 }
    """
    When I run `gcli download ls wycats thor`
    Then the exit status should be 0

  Scenario: Get download
    Given the GitHub API server:
    """
    get('/repos/wycats/thor/downloads/1') { status 200 }
    """
    When I run `gcli download get wycats thor 1`
    Then the exit status should be 0

  Scenario: Delete download
    Given the GitHub API server:
    """
    delete('/repos/wycats/thor/downloads/1') { status 200 }
    """
    When I run `gcli download delete wycats thor 1`
    Then the exit status should be 0

  Scenario: Create download
    Given the GitHub API server:
    """
    post('/repos/wycats/thor/downloads') { status 200 }
    """
    When I run `gcli download create wycats thor --params=name:octo.jpg size:113410`
    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/download.feature
github_cli-0.5.8 features/download.feature
github_cli-0.5.7 features/download.feature
github_cli-0.5.6 features/download.feature
github_cli-0.5.5 features/download.feature
github_cli-0.5.4 features/download.feature
github_cli-0.5.3 features/download.feature
github_cli-0.5.2 features/download.feature
github_cli-0.5.1 features/download.feature
github_cli-0.5.0 features/download.feature