Sha256: a156a5a677072c6ba4adab7e5c5d4887803a6bdadbe1108f7077bbcd13b58b7b
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
Feature: gcli status @ci-run Scenario: Available commands When I run `gcli status` Then the exit status should be 0 And the output should contain "status list" And the output should contain "status create" Scenario: List statuses Given the GitHub API server: """ get('/repos/wycats/thor/statuses/abc123') { body :creator => { :login => 'octokit', :id => 1 }, :url => 'https://api.github.com/users/peter-murach', :state => 'success' status 200 } """ When I successfully run `gcli status ls wycats thor abc123` Then the stdout should contain "octokit" Scenario: Create status Given the GitHub API server: """ post('/repos/wycats/thor/statuses/abc123') { body :creator => { :login => 'octokit', :id => 1 }, :url => 'https://api.github.com/users/peter-murach', :state => 'success' status 200 } """ When I run `gcli status create wycats thor abc123 --state=pending` Then the exit status should be 0 And the stdout should contain "success"
Version data entries
5 entries across 5 versions & 1 rubygems