summaryrefslogtreecommitdiff
path: root/yarns/400-build.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-13 20:35:50 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-13 20:35:50 +0100
commit743e5eb345f3414793fb840759a844163d44151c (patch)
tree87bed9606b53873be32c3ee128738218e2008b22 /yarns/400-build.yarn
parentbcb3b6c21b84d8d4e24d33aa92aff9b6fa31e285 (diff)
downloadick2-743e5eb345f3414793fb840759a844163d44151c.tar.gz
Fix: build scenario steps (syntax, etc)
Diffstat (limited to 'yarns/400-build.yarn')
-rw-r--r--yarns/400-build.yarn11
1 files changed, 5 insertions, 6 deletions
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
... }
... ]
... }