summaryrefslogtreecommitdiff
path: root/testing/02-commands-group.yarn
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-05-30 12:12:57 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-05-30 12:12:57 +0100
commit750f5cfacef71c6bd0ed3acb7ef09355ed4aa6b2 (patch)
tree10acec24196a4e585baa07a654278182ba620448 /testing/02-commands-group.yarn
parentb2d41420332d870f8d4f05e47150be4a19db9c58 (diff)
downloadgitano-750f5cfacef71c6bd0ed3acb7ef09355ed4aa6b2.tar.gz
Ensure user add and group add validate their inputs. Fixes https://trello.com/c/mLGNXKdo/165-group-add-allows-slashes-which-are-not-valid
Diffstat (limited to 'testing/02-commands-group.yarn')
-rw-r--r--testing/02-commands-group.yarn8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/02-commands-group.yarn b/testing/02-commands-group.yarn
index f282cb0..0d84c2f 100644
--- a/testing/02-commands-group.yarn
+++ b/testing/02-commands-group.yarn
@@ -1 +1,9 @@
<!-- -*- markdown -*- -->
+
+TODO: Expand this beyond these simple regression checks
+=======================================================
+
+ SCENARIO group add with slashes causes error
+ GIVEN a standard instance
+ WHEN testinstance adminkey, expecting failure, runs group add foo/bar bananas
+ THEN stderr contains group name .foo/bar. not valid