Sha256: e436742c2cb778ab7219adfeaf6913739aded0e86b91ed89d03dad301bdde8de
Contents?: true
Size: 1.08 KB
Versions: 5
Compression:
Stored size: 1.08 KB
Contents
Feature: gcli status Scenario: Available commands When I run `gcli status` Then the exit status should be 0 And the output should contain "gcli status list" And the output should contain "gcli 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 --params=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