summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-04-18 16:52:29 +0100
committerLars Wirzenius <liw@liw.fi>2014-04-18 16:52:29 +0100
commit458c92b25ed1142fd4b0bcd4530a6d96158fe76f (patch)
tree0f3de6f64e47cb5f39ff5f5fe434c9aafe6a3ad7 /yarns
parent34d4fdcfb434568f9133854536ef672e8a2e298f (diff)
downloaddistix-458c92b25ed1142fd4b0bcd4530a6d96158fe76f.tar.gz
Add dummy show implemenation
This is a silly implementation that doesn't really do anything yet, but it's as good as I can test it. The rest becomes usability testing.
Diffstat (limited to 'yarns')
-rw-r--r--yarns/050-show.yarn17
-rw-r--r--yarns/900-implements.yarn1
2 files changed, 18 insertions, 0 deletions
diff --git a/yarns/050-show.yarn b/yarns/050-show.yarn
new file mode 100644
index 0000000..c07f4b5
--- /dev/null
+++ b/yarns/050-show.yarn
@@ -0,0 +1,17 @@
+Show tickets
+============
+
+This chapter has scenarios for showing individual tickets.
+
+ SCENARIO show 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 show --ticket-id-from=NEW
+ THEN attempt succeeded
+ AND output matches "."
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index c483214..e47bfe5 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -69,6 +69,7 @@ distix.
cat "$DATADIR/attempt.stderr"
grep -e "$MATCH_1" "$DATADIR/attempt.stderr"
+
File creation
-------------