Sha256: 0d002385c321aa5537b1a8fcd986d1f6c522c33b72e6ecf52570d263f85dd4b1
Contents?: true
Size: 1.78 KB
Versions: 7
Compression:
Stored size: 1.78 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 "ref create" And the output should contain "ref delete" And the output should contain "ref get" And the output should contain "ref list" And the output should contain "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
7 entries across 7 versions & 1 rubygems