summaryrefslogtreecommitdiff
path: root/yarns/400-build.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-05 19:15:45 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-05 19:15:45 +0100
commiteedfc84fe3705bd1c4e94d80b8990cff7f9e2b9b (patch)
tree9c79c93907533f3b9edd22d624c096730fc2a3a1 /yarns/400-build.yarn
parent0936bf84505531a8b4d239afbd38aeb8cdd7f6eb (diff)
downloadick2-eedfc84fe3705bd1c4e94d80b8990cff7f9e2b9b.tar.gz
Fix: some scenario steps to match code
Diffstat (limited to 'yarns/400-build.yarn')
-rw-r--r--yarns/400-build.yarn10
1 files changed, 6 insertions, 4 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn
index d8194f6..08f595d 100644
--- a/yarns/400-build.yarn
+++ b/yarns/400-build.yarn
@@ -93,7 +93,8 @@ be in the path or can we get it in the access token?**
... "pipeline": "construct",
... "step": {
... "shell": "day 1"
- ... }
+ ... },
+ ... "step_index": 0
... }
WHEN worker-manager makes request GET /work/obelix
@@ -104,7 +105,8 @@ be in the path or can we get it in the access token?**
... "pipeline": "construct",
... "step": {
... "shell": "day 1"
- ... }
+ ... },
+ ... "step_index": 0
... }
User can now see pipeline is running and which worker is building it.
@@ -113,9 +115,9 @@ User can now see pipeline is running and which worker is building it.
THEN result has status code 200
AND body matches
... {
- ... "status": "running",
+ ... "status": "building",
... "worker": "obelix",
- ... "step_number": 1,
+ ... "step_number": 0,
... "step": {
... "shell": "day 1"
... }