summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-01-07 16:27:49 +0200
committerLars Wirzenius <liw@liw.fi>2017-01-07 16:27:49 +0200
commit65746d541a49996703016cb0e28b939543a198fb (patch)
tree3542963a329e05e96d054ba8cb48d8682c2c9b1f /yarns
parentb759dca31be37ecd49416a2b54e794bcb7f7daf3 (diff)
downloaddistix-65746d541a49996703016cb0e28b939543a198fb.tar.gz
Change distix set to have a list of ticket ids at end
Diffstat (limited to 'yarns')
-rw-r--r--yarns/060-set.yarn2
-rw-r--r--yarns/070-search.yarn2
-rw-r--r--yarns/900-implements.yarn2
3 files changed, 3 insertions, 3 deletions
diff --git a/yarns/060-set.yarn b/yarns/060-set.yarn
index 4aed805..83af08f 100644
--- a/yarns/060-set.yarn
+++ b/yarns/060-set.yarn
@@ -12,7 +12,7 @@ This chapter contains scenarios for setting metadata for a ticket.
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
+ WHEN user attempts to run distix set FOO=BAR DUMMYID --ticket-id-from=../NEW
THEN attempt succeeded
AND everything in REPO is committed to git
diff --git a/yarns/070-search.yarn b/yarns/070-search.yarn
index ccbe471..c55b3da 100644
--- a/yarns/070-search.yarn
+++ b/yarns/070-search.yarn
@@ -38,7 +38,7 @@ 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
+ ... distix set --ticket-id-from=../T2 state=closed DUMMY
THEN attempt succeeded
WHEN user attempts to run distix list
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index da62298..3aed634 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -74,7 +74,7 @@ b
do
"$SRCDIR/distix" --no-default-config --quiet \
--log "$DATADIR/distix.log" \
- set "$ticket" "$MATCH_2"
+ set "$MATCH_2" "$ticket"
done
We also need steps for inspecting the results of attempting to run