From f0b94a81580868e8106c94c2b55245d83036545c Mon Sep 17 00:00:00 2001 From: Phillip Smyth Date: Mon, 23 Oct 2017 17:48:23 +0100 Subject: Changed to confirm that user names can contain . --- testing/02-commands-user.yarn | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testing/02-commands-user.yarn b/testing/02-commands-user.yarn index 1c2ca33..df8e2da 100644 --- a/testing/02-commands-user.yarn +++ b/testing/02-commands-user.yarn @@ -67,11 +67,11 @@ 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 @@ -82,9 +82,9 @@ project's owner work properly. AND testinstance adminkey runs config testrepo show project.owner THEN stdout contains robert - WHEN testinstance adminkey runs user rename robert bob --force + WHEN testinstance adminkey runs user rename robert 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 -- cgit v1.2.1