Sha256: fa54fe9a725b558d14ec15ecef510dc341d5fb4ed50b8f449789698456fc2547
Contents?: true
Size: 1.51 KB
Versions: 3
Compression:
Stored size: 1.51 KB
Contents
Feature: gcli auth @ci-run Scenario: Available commands When I run `gcli auth` Then the exit status should be 0 And the output should contain "auth list" And the output should contain "auth get" And the output should contain "auth create" And the output should contain "auth update" And the output should contain "auth delete" Scenario: List authorizations Given the Github API server: """ get('/authorizations') { status 200 } """ When I run `gcli auth ls --login=piotr --password=secret` Then the exit status should be 0 Scenario: Get authorization Given the Github API server: """ get('/authorizations/1') { status 200 } """ When I run `gcli auth get 1 --login=piotr --password=secret` Then the exit status should be 0 Scenario: Create authorization Given the Github API server: """ post('/authorizations') { status 200 } """ When I run `gcli auth create --scopes=repo --login=piotr --password=secret` Then the exit status should be 0 Scenario: Update authorization Given the Github API server: """ patch('/authorizations/1') { status 200 } """ When I run `gcli auth update 1 --scopes=repo --login=piotr --password=secret` Then the exit status should be 0 Scenario: Delete authorization Given the Github API server: """ delete('/authorizations/1') { status 200 } """ When I run `gcli auth delete 1 --login=piotr --password=secret` 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/authorization.feature |
github_cli-0.6.1 | features/authorization.feature |
github_cli-0.6.0 | features/authorization.feature |