Sha256: 629f4ae3b75305ed0ffb1e4df2905330f1de1be94a81878e2358592ee0302131

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

Feature: gcli search

  @ci-run
  Scenario: Available commands

    When I run `gcli search`
    Then the exit status should be 0
      And the output should contain "search email"
      And the output should contain "search issue"
      And the output should contain "search repo"
      And the output should contain "search user"

  Scenario: Search issues
    Given the GitHub API server:
    """
    get('/legacy/issues/search/wycats/thor/open/shell') { status 200 }
    """
    When I run `gcli search issue wycats thor shell --state=open`
    Then the exit status should be 0

  Scenario: Search repositories
    Given the GitHub API server:
    """
    get('/legacy/repos/search/shell') { status 200 }
    """
    When I run `gcli search repo shell`
    Then the exit status should be 0

  Scenario: Search users
    Given the GitHub API server:
    """
    get('/legacy/user/search/wycats') { status 200 }
    """
    When I run `gcli search user wycats`
    Then the exit status should be 0

  Scenario: Search email
    Given the GitHub API server:
    """
    get('/legacy/user/search/wycats') { status 200 }
    """
    When I run `gcli search user wycats`
    Then the exit status should be 0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
github_cli-0.6.2 features/search.feature
github_cli-0.6.1 features/search.feature
github_cli-0.6.0 features/search.feature