From eedfc84fe3705bd1c4e94d80b8990cff7f9e2b9b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 5 Nov 2017 19:15:45 +0100 Subject: Fix: some scenario steps to match code --- yarns/400-build.yarn | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'yarns/400-build.yarn') 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" ... } -- cgit v1.2.1