diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-04-18 17:34:14 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-04-18 17:34:14 +0100 |
commit | 41ebf219eb658e57f1842cfd1e3388d7071848ec (patch) | |
tree | 41a0b9fadcda48118bed98f114544f9974d27126 /yarns | |
parent | 8b6c9e8ca95fb9b988e0fed97548835f0cabc488 (diff) | |
download | distix-41ebf219eb658e57f1842cfd1e3388d7071848ec.tar.gz |
Add preliminary "distix set" command
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/060-set.yarn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/yarns/060-set.yarn b/yarns/060-set.yarn new file mode 100644 index 0000000..406f3df --- /dev/null +++ b/yarns/060-set.yarn @@ -0,0 +1,20 @@ +Set metadata for ticket +======================= + +This chapter contains scenarios for setting metadata for a ticket. + + SCENARIO set metadata for ticket + + WHEN user attempts to run distix init REPO + THEN attempt succeeded + + WHEN user changes working directory to REPO + AND user attempts to run distix new new-ticket-title --save-ticket-id=NEW + THEN attempt succeeded + + WHEN user attempts to run distix set DUMMYID FOO=BAR --ticket-id-from=NEW + THEN attempt succeeded + + WHEN user attempts to run distix show --ticket-id-from=NEW + THEN attempt succeeded + AND output matches "FOO: BAR" |