summaryrefslogtreecommitdiff
path: root/testing/02-commands-create.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2016-11-05 13:41:20 +0000
committerRichard Maw <richard.maw@gmail.com>2016-11-05 13:41:50 +0000
commit06f20fb42e61c77af8d075c280862bdcb41a06af (patch)
treee3b53e6ec113f203c872516e4648aa63f718e479 /testing/02-commands-create.yarn
parent2de8fa0cb660c4f2a5dc44352d26a137842e88e2 (diff)
downloadgitano-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.yarn8
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.