features/starring.feature in github_cli-0.5.2 vs features/starring.feature in github_cli-0.5.3
- old
+ new
@@ -35,10 +35,11 @@
"""
delete('/user/starred/wycats/thor') { status 204 }
"""
When I run `gcli star unstar wycats thor`
Then the exit status should be 0
+ And the stdout should contain "204"
Scenario: Starring
Given the GitHub API server:
"""
get('/user/starred/wycats/thor') { status 204 }
@@ -61,14 +62,16 @@
"""
get('/users/wycats/starred') { status 200 }
"""
When I run `gcli star starred -u wycats`
Then the exit status should be 0
+ And the stdout should contain "200"
Scenario: Starred by the authenticated user
Given the GitHub API server:
"""
get('/user/starred') { status 200 }
"""
When I run `gcli star starred`
Then the exit status should be 0
+ And the stdout should contain "200"