diff options
author | Richard Maw <richard.maw@gmail.com> | 2016-11-05 13:41:20 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2016-11-05 13:41:50 +0000 |
commit | 06f20fb42e61c77af8d075c280862bdcb41a06af (patch) | |
tree | e3b53e6ec113f203c872516e4648aa63f718e479 /testing/02-commands-create.yarn | |
parent | 2de8fa0cb660c4f2a5dc44352d26a137842e88e2 (diff) | |
download | gitano-06f20fb42e61c77af8d075c280862bdcb41a06af.tar.gz |
testing: Add yarn for testing repository creation
Diffstat (limited to 'testing/02-commands-create.yarn')
-rw-r--r-- | testing/02-commands-create.yarn | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/testing/02-commands-create.yarn b/testing/02-commands-create.yarn index 968498f..761e853 100644 --- a/testing/02-commands-create.yarn +++ b/testing/02-commands-create.yarn @@ -1,9 +1,8 @@ <!-- -*- markdown -*- --> -<!-- TODO: Needs a ruleset with creation enabled - SCENARIO user-created repositories - GIVEN an instance with personal repositories + GIVEN a standard instance + AND testinstance using adminkey has patched rules with personal-repo-create.patch AND a unix user called alice AND alice has keys called main WHEN testinstance, using adminkey, adds user alice, using alice main @@ -15,5 +14,4 @@ May not create repositories elsewhere. WHEN alice main, expecting failure, runs create personal/testintance/testrepo - THEN failure ensues ---> + THEN stderr contains CRIT: Repository creation is not permitted. |