summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/02-commands-user.yarn14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/02-commands-user.yarn b/testing/02-commands-user.yarn
index 1c2ca33..d83cdae 100644
--- a/testing/02-commands-user.yarn
+++ b/testing/02-commands-user.yarn
@@ -67,24 +67,24 @@ but it is possible to rename users.
GIVEN a standard instance
WHEN testinstance adminkey runs user add bob bob@testinstance Bob Bobertson
- AND testinstance adminkey runs user rename bob robert --force
+ AND testinstance adminkey runs user rename bob rob.ert --force
THEN the output contains SSH authorised key file updated
- AND the output contains Committed: Rename user bob to robert
+ AND the output contains Committed: Rename user bob to rob.ert
WHEN testinstance adminkey runs user list
- THEN stdout contains ^robert
+ THEN stdout contains ^rob.ert
THEN stdout does not contain ^bob
In addition, you might want rename a user which owns repositories. When that
is done, Gitano must re-own the repository in order that rules using the
project's owner work properly.
- WHEN testinstance adminkey runs create testrepo robert
+ WHEN testinstance adminkey runs create testrepo rob.ert
AND testinstance adminkey runs config testrepo show project.owner
- THEN stdout contains robert
+ THEN stdout contains rob.ert
- WHEN testinstance adminkey runs user rename robert bob --force
+ WHEN testinstance adminkey runs user rename rob.ert b.ob --force
AND testinstance adminkey runs config testrepo show project.owner
- THEN stdout contains bob
+ THEN stdout contains b.ob
FINALLY the instance is torn down