Sha256: 51a793039a8116b0494aaaeacc914c197f0b11e3073d2be27eca70e646f583ed
Contents?: true
Size: 1.81 KB
Versions: 2
Compression:
Stored size: 1.81 KB
Contents
Feature: gcli ref @ci-run Scenario: Available commands When I run `gcli ref` Then the exit status should be 0 And the output should contain "gcli ref create" And the output should contain "gcli ref delete" And the output should contain "gcli ref get" And the output should contain "gcli ref list" And the output should contain "gcli ref update" Scenario: List all references Given the GitHub API server: """ get('/repos/wycats/thor/git/refs') { status 200 } """ When I run `gcli ref list wycats thor` Then the exit status should be 0 Scenario: List branch references Given the GitHub API server: """ get('/repos/wycats/thor/git/refs/7d1b31e') { status 200 } """ When I run `gcli ref list wycats thor --ref=7d1b31e` Then the exit status should be 0 Scenario: Get reference Given the GitHub API server: """ get('/repos/wycats/thor/git/refs/7d1b31e') { status 200 } """ When I run `gcli ref list wycats thor 7d1b31e` Then the exit status should be 0 Scenario: Create reference Given the GitHub API server: """ post('/repos/wycats/thor/git/refs') { status 200 } """ When I run `gcli ref create wycats thor --ref=refs/heads/master --sha=827efc6d5` Then the exit status should be 0 Scenario: Update reference Given the GitHub API server: """ patch('/repos/wycats/thor/git/refs/7d1b31e') { status 200 } """ When I run `gcli ref update wycats thor 7d1b31e --force --sha=827efc6d5` Then the exit status should be 0 Scenario: Delete reference Given the GitHub API server: """ delete('/repos/wycats/thor/git/refs/7d1b31e') { status 200 } """ When I run `gcli ref delete wycats thor 7d1b31e --params=ref:refs/heads/master` 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/reference.feature |
github_cli-0.5.4 | features/reference.feature |