diff options
author | Phillip Smyth <phillip.smyth@codethink.co.uk> | 2017-10-23 17:48:23 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-10-24 19:47:50 +0100 |
commit | f464557c414665b743b3933628a535d25d099cfa (patch) | |
tree | 975b1339035634dc6601d8ae28aa3cb42d097286 /testing/02-commands-user.yarn | |
parent | 78d714fae96ebd51bff0cdf0b611ee77b9beb118 (diff) | |
download | gitano-lua-http.tar.gz |
Changed to confirm that user names can contain .lua-http
Diffstat (limited to 'testing/02-commands-user.yarn')
-rw-r--r-- | testing/02-commands-user.yarn | 14 |
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 |