features/label.feature in github_cli-0.5.9 vs features/label.feature in github_cli-0.6.0
- old
+ new
@@ -1,21 +1,20 @@
Feature: gcli label
+ @ci-run
Scenario: Available commands
When I run `gcli label`
Then the exit status should be 0
- And the output should contain "gcli label add"
- And the output should contain "gcli label create"
- And the output should contain "gcli label delete"
- And the output should contain "gcli label get"
- And the output should contain "gcli label issue"
- And the output should contain "gcli label list"
- And the output should contain "gcli label milestone"
- And the output should contain "gcli label remove"
- And the output should contain "gcli label replace"
- And the output should contain "gcli label update"
+ And the output should contain "label add"
+ And the output should contain "label create"
+ And the output should contain "label delete"
+ And the output should contain "label get"
+ And the output should contain "label list"
+ And the output should contain "label remove"
+ And the output should contain "label replace"
+ And the output should contain "label update"
Scenario: List labels
Given the GitHub API server:
"""
get('/repos/wycats/thor/labels') { status 200 }
@@ -34,18 +33,18 @@
Scenario: Create label
Given the GitHub API server:
"""
post('/repos/wycats/thor/labels') { status 200 }
"""
- When I run `gcli label create wycats thor --params=name:bug color:f3f3f3`
+ When I run `gcli label create wycats thor --name=bug --color=f3f3f3`
Then the exit status should be 0
Scenario: Update label
Given the GitHub API server:
"""
patch('/repos/wycats/thor/labels/1') { status 200 }
"""
- When I run `gcli label update wycats thor 1 --params=name:bug color:f3f3f3`
+ When I run `gcli label update wycats thor 1 --name=bug --color=f3f3f3`
Then the exit status should be 0
Scenario: Delete label
Given the GitHub API server:
"""