features/user.feature in github_cli-0.4.3 vs features/user.feature in github_cli-0.4.4

- old
+ new

@@ -4,5 +4,29 @@ When I run `ghc user` Then the exit status should be 0 And the output should contain "ghc user get" And the output should contain "ghc user update" + + Scenario: Get user + Given the GitHub API server: + """ + get('/users/wycats') { status 200 } + """ + When I run `ghc user get -u wycats` + Then the exit status should be 0 + + Scenario: Get the authenticated user + Given the GitHub API server: + """ + get('/user') { status 200 } + """ + When I run `ghc user get` + Then the exit status should be 0 + + Scenario: Update the authenticated user + Given the GitHub API server: + """ + patch('/user') { status 200 } + """ + When I run `ghc user update --params=name:peter-murach` + Then the exit status should be 0