summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-04-18 15:23:10 +0100
committerLars Wirzenius <liw@liw.fi>2014-04-18 15:23:10 +0100
commit77e405e8e5c295d674617fce019364faa0a50693 (patch)
treedbf51a6b1b8a4d60c40c112f3a6c99ae290f880f /yarns
parent99f904117eaf11ee67688b14d93b5145ad939fd8 (diff)
downloaddistix-77e405e8e5c295d674617fce019364faa0a50693.tar.gz
Tweak scenario to test list without tickets
Diffstat (limited to 'yarns')
-rw-r--r--yarns/040-new.yarn8
1 files changed, 7 insertions, 1 deletions
diff --git a/yarns/040-new.yarn b/yarns/040-new.yarn
index 566bc9b..d25f7fa 100644
--- a/yarns/040-new.yarn
+++ b/yarns/040-new.yarn
@@ -4,10 +4,16 @@ Create new ticket
This chapter has scenarios for creating new tickets.
SCENARIO create new 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
+
+ WHEN user attempts to run distix list
+ THEN attempt succeeded
+ AND output is ""
+
+ WHEN user attempts to run distix new new-ticket-title
THEN attempt succeeded
WHEN user attempts to run distix list