Sha256: 337e8409f4593df8e3351ebd2a40e97be08e23e95c5509f0d05ce7866a5daa5b
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
Feature: gcli content @ci-run Scenario: Available commands When I run `gcli content` Then the exit status should be 0 And the output should contain "content get" And the output should contain "content create" And the output should contain "content readme" And the output should contain "content archive" Scenario: Get content Given the GitHub API server: """ get('/repos/wycats/thor/contents/lib') { status 200 } """ When I run `gcli content get wycats thor lib` Then the exit status should be 0 Scenario: Create content Given the GitHub API server: """ put('/repos/wycats/thor/contents/lib') { status 200 } """ When I run `gcli content create wycats thor lib` Then the exit status should be 0 Scenario: Readme Given the GitHub API server: """ get('/repos/wycats/thor/readme') { status 200 } """ When I run `gcli content readme wycats thor` Then the exit status should be 0 Scenario: Archive Given the GitHub API server: """ get('/repos/wycats/thor/zipball/master') { status 200 } """ When I run `gcli content archive wycats thor` Then the exit status should be 0 Scenario: Archive with params Given the GitHub API server: """ get('/repos/wycats/thor/tarball/new_feature') { status 200 } """ When I run `gcli content archive wycats thor --archive_format=tarball --ref=new_feature` Then the exit status should be 0
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.6.2 | features/content.feature |