summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-04-18 18:33:27 +0100
committerLars Wirzenius <liw@liw.fi>2014-04-18 18:38:46 +0100
commit8cbbe6e9769ff2b9a8c51db78c05e1caf4efdea1 (patch)
treee92e1337e0984d3e834ef43607fcb682635a3143 /yarns
parentbd6bd90ea093826a8441734314d72c3824e3bf52 (diff)
downloaddistix-8cbbe6e9769ff2b9a8c51db78c05e1caf4efdea1.tar.gz
Add scenario for adding a reply to a message
Diffstat (limited to 'yarns')
-rw-r--r--yarns/070-reply.yarn21
1 files changed, 21 insertions, 0 deletions
diff --git a/yarns/070-reply.yarn b/yarns/070-reply.yarn
new file mode 100644
index 0000000..40bf3d1
--- /dev/null
+++ b/yarns/070-reply.yarn
@@ -0,0 +1,21 @@
+Reply to tickets
+================
+
+This chapter contains scenarios for testing replying to existing
+tickets.
+
+ SCENARIO reply to 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 reply DUMMYID --ticket-id-from=NEW --message='This is a reply'
+ THEN attempt succeeded
+
+ WHEN user attempts to run distix show --ticket-id-from=NEW
+ THEN attempt succeeded
+ AND output matches "This is a reply"