From 743e5eb345f3414793fb840759a844163d44151c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 13 Nov 2017 20:35:50 +0100 Subject: Fix: build scenario steps (syntax, etc) --- yarns/400-build.yarn | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'yarns/400-build.yarn') diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn index 9519952..07ae2f7 100644 --- a/yarns/400-build.yarn +++ b/yarns/400-build.yarn @@ -340,7 +340,7 @@ Start build again. This should become build number 2. AND body matches ... { ... "build_id": 2, - ... "log": "/logs/1", + ... "log": "/logs/2", ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", @@ -361,7 +361,7 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", - ... "status": 0, + ... "status": 0 ... }, ... { ... "build_id": 2, @@ -369,7 +369,7 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", - ... "status": "building", + ... "status": "building" ... } ... ] ... } @@ -403,7 +403,6 @@ Start build again. This should become build number 2. ... } THEN result has status code 201 - WHEN user makes request GET /builds THEN result has status code 200 AND body matches @@ -415,7 +414,7 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", - ... "status": 0, + ... "status": 0 ... }, ... { ... "build_id": 2, @@ -423,7 +422,7 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", - ... "status": 0, + ... "status": 0 ... } ... ] ... } -- cgit v1.2.1