|
1 | 1 | Feature: Scaffolder
|
2 | 2 |
|
3 |
| - Scenario: new repository |
| 3 | + Scenario: new public repository |
4 | 4 | Given netrc contains a GitHub token
|
5 | 5 | And no repository exists for the "user" on GitHub
|
| 6 | + And the visibility of the repository should be "Public" |
| 7 | +# And next steps are provided |
| 8 | + When the project is scaffolded |
| 9 | + Then a repository is created on GitHub |
| 10 | +# And issues are created for next-steps |
| 11 | +# And repository settings are configured |
| 12 | + And repository details are returned |
| 13 | + |
| 14 | + Scenario: new private repository |
| 15 | + Given netrc contains a GitHub token |
| 16 | + And no repository exists for the "user" on GitHub |
| 17 | + And the visibility of the repository should be "Private" |
6 | 18 | # And next steps are provided
|
7 | 19 | When the project is scaffolded
|
8 | 20 | Then a repository is created on GitHub
|
@@ -34,11 +46,23 @@ Feature: Scaffolder
|
34 | 46 | # But repository settings are configured
|
35 | 47 | And no repository details are returned
|
36 | 48 |
|
37 |
| - Scenario: user is a member of an organization and the project is new |
| 49 | + Scenario: user is a member of an organization and the public project is new |
38 | 50 | Given netrc contains a GitHub token
|
39 | 51 | And the user is a member of an organization
|
40 | 52 | And no repository exists for the "organization" on GitHub
|
| 53 | + And the visibility of the repository should be "Public" |
41 | 54 | When the project is scaffolded
|
| 55 | + Then a repository is created on GitHub |
| 56 | +# And repository settings are configured |
| 57 | + And repository details are returned |
| 58 | + |
| 59 | + Scenario: user is a member of an organization and the private project is new |
| 60 | + Given netrc contains a GitHub token |
| 61 | + And the user is a member of an organization |
| 62 | + And no repository exists for the "organization" on GitHub |
| 63 | + And the visibility of the repository should be "Private" |
| 64 | + When the project is scaffolded |
| 65 | + Then a repository is created on GitHub |
42 | 66 | # And repository settings are configured
|
43 | 67 | And repository details are returned
|
44 | 68 |
|
|
0 commit comments