-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add member and fork interface tests.
- Loading branch information
1 parent
f00e748
commit 43612ca
Showing
4 changed files
with
65 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Feature: ghc fork | ||
|
||
Scenario Outline: Available commands | ||
When I run `ghc fork` | ||
Then the output should contain "ghc fork <command>" | ||
|
||
Examples: | ||
| command | | ||
| create | | ||
| list | | ||
|
||
Scenario: List forks | ||
When I run `ghc fork ls wycats thor` | ||
Then the exit status should be 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Feature: ghc member | ||
|
||
Scenario Outline: Available commands | ||
When I run `ghc member` | ||
Then the output should contain "ghc member <command>" | ||
|
||
Examples: | ||
| command | | ||
| conceal | | ||
| delete | | ||
| list | | ||
| member | | ||
| publicize | | ||
|
||
Scenario: List an organization members | ||
When I run `ghc member ls rails` | ||
Then the exit status should be 0 | ||
|
||
Scenario: List an organization public members | ||
When I run `ghc member ls rails --public` | ||
Then the exit status should be 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters