summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-12-12 22:40:38 +0100
committerLars Wirzenius <liw@liw.fi>2015-12-12 22:40:38 +0100
commitf5470d08564391dfd0024cc9349463cafccb9f16 (patch)
tree36801524902290ae4b35dd85e39b58969a0c4709 /yarns
parent5504c59f2d8c8944703e4707250ab213d69e16f1 (diff)
downloaddistix-f5470d08564391dfd0024cc9349463cafccb9f16.tar.gz
Change all write commands to require clean tree
Diffstat (limited to 'yarns')
-rw-r--r--yarns/070-search.yarn7
1 files changed, 4 insertions, 3 deletions
diff --git a/yarns/070-search.yarn b/yarns/070-search.yarn
index 0308327..ccbe471 100644
--- a/yarns/070-search.yarn
+++ b/yarns/070-search.yarn
@@ -21,10 +21,10 @@ First, create two tickets with different titles.
THEN attempt succeeded
WHEN user changes working directory to REPO
- AND user attempts to run distix new first-ticket --save-ticket-id=T1
+ AND user attempts to run distix new first-ticket --save-ticket-id=../T1
THEN attempt succeeded
- WHEN user attempts to run distix new second-ticket --save-ticket-id=T2
+ WHEN user attempts to run distix new second-ticket --save-ticket-id=../T2
THEN attempt succeeded
Make sure `distix list` shows both tickets.
@@ -37,7 +37,8 @@ Make sure `distix list` shows both tickets.
Set the second ticket's state to closed, and make sure `distix list`
still shows both tickets.
- WHEN user attempts to run distix set --ticket-id-from=T2 DUMMY state=closed
+ WHEN user attempts to run
+ ... distix set --ticket-id-from=../T2 DUMMY state=closed
THEN attempt succeeded
WHEN user attempts to run distix list