From a3e9ce2268d98f5d63c9e4bbfa4e73dda6e8247a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 24 Feb 2018 18:54:01 +0200 Subject: Fix: remove indeterminism and move triggering of a build --- yarns/400-build.yarn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'yarns') diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn index f818e95..ef164d9 100644 --- a/yarns/400-build.yarn +++ b/yarns/400-build.yarn @@ -863,10 +863,6 @@ Trigger both projects. ... with a valid token and body { "status": "triggered" } THEN result has status code 200 - WHEN user makes request PUT /projects/second/pipelines/do_something - ... with a valid token and body { "status": "triggered" } - THEN result has status code 200 - WHEN user requests list of builds THEN the list of builds is [] @@ -879,6 +875,10 @@ Trigger both projects. WHEN user requests list of builds THEN the list of builds is ["first/1"] + WHEN user makes request PUT /projects/second/pipelines/do_something + ... with a valid token and body { "status": "triggered" } + THEN result has status code 200 + WHEN obelix makes request GET /work/obelix THEN result is step ... { -- cgit v1.2.1