features/gist.feature in github_cli-0.5.9 vs features/gist.feature in github_cli-0.6.0
- old
+ new
@@ -32,12 +32,20 @@
Then the exit status should be 0
Scenario: List public gists for the authenticated user
Given the GitHub API server:
"""
+ get('/gists') { status 200 }
+ """
+ When I run `gcli gist ls --login=piotr --password=secret`
+ Then the exit status should be 0
+
+ Scenario: List all public gists
+ Given the GitHub API server:
+ """
get('/gists/public') { status 200 }
"""
- When I run `gcli gist ls`
+ When I run `gcli gist ls --public`
Then the exit status should be 0
Scenario: Get gist
Given the GitHub API server:
"""