summaryrefslogtreecommitdiff
path: root/yarns.webapp/040-running-jobs.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns.webapp/040-running-jobs.yarn')
-rw-r--r--yarns.webapp/040-running-jobs.yarn3
1 files changed, 3 insertions, 0 deletions
diff --git a/yarns.webapp/040-running-jobs.yarn b/yarns.webapp/040-running-jobs.yarn
index 5c028a8..f254076 100644
--- a/yarns.webapp/040-running-jobs.yarn
+++ b/yarns.webapp/040-running-jobs.yarn
@@ -15,6 +15,9 @@ To start with, with an empty run-queue, nothing should be scheduled.
WHEN admin makes request GET /1.0/give-me-job
THEN response has job_id set to null
+
+ WHEN admin makes request GET /1.0/list-running-jobs
+ THEN response has running_jobs set to []
Add a Lorry spec to the run-queue, and request a job. We should get
that job now.