diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-01-02 15:44:04 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-01-02 15:44:04 +0000 |
commit | c3478c9421227977fa3672e31a4e7c901d9ae1fa (patch) | |
tree | e82e400461aa921ae72da61639ccb8f59c765127 /testing | |
parent | 03a2090d714fb854325d36afab1a5e0a73998ee7 (diff) | |
download | gitano-c3478c9421227977fa3672e31a4e7c901d9ae1fa.tar.gz |
Explain 'configuration changes stick' slightly better
Diffstat (limited to 'testing')
-rw-r--r-- | testing/02-commands-config.yarn | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/02-commands-config.yarn b/testing/02-commands-config.yarn index 8275e05..7dc642e 100644 --- a/testing/02-commands-config.yarn +++ b/testing/02-commands-config.yarn @@ -46,12 +46,16 @@ for it. THEN stderr is empty AND stdout contains project.head: refs/heads/trunk -When we create a repository it is owned by the creator, -but we can change this after it has been created. +When we create a repository it is owned by the creator, however we can change +this after it has been created. Since the project's owner is an important part +of the metadata, Gitano validates that the username you're setting actually +exists... WHEN testinstance adminkey, expecting failure, runs config testrepo set project.owner alice THEN stderr contains Unknown user: alice +... and if it does, then you can set the ownership of the repository + GIVEN testinstance, using adminkey, adds a new user alice, with a key called main WHEN testinstance adminkey runs config testrepo set project.owner alice AND testinstance adminkey runs config testrepo show |