diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-01-19 12:11:42 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-01-19 12:11:42 +0000 |
commit | aab70777f26e52216f64024612baaed58b394653 (patch) | |
tree | 4807eefa638392bcf3514fcfca5caa7c1c03abe9 /testing | |
parent | 3efe5baa9e56db0c8ecdcdef623c4604abbf0397 (diff) | |
download | gitano-aab70777f26e52216f64024612baaed58b394653.tar.gz |
Ensure that config show will fail if none of the keys supplied are found
Diffstat (limited to 'testing')
-rw-r--r-- | testing/02-commands-config.yarn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/02-commands-config.yarn b/testing/02-commands-config.yarn index 00b07b8..1af8bc9 100644 --- a/testing/02-commands-config.yarn +++ b/testing/02-commands-config.yarn @@ -113,3 +113,16 @@ new items appended... FINALLY the instance is torn down FIXME: Now that we have the ability to patch the rules we should add more tests + +Unknown config values error out on show +--------------------------------------- + +It's essential that the user is told when they've attempted to show a config +value which simply does not exist. + + SCENARIO Showing non-existant configuration values + + GIVEN a standard instance + WHEN testinstance adminkey, expecting failure, runs config gitano-admin show banana + THEN stdout is empty + AND stderr contains banana |