summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-11-03 16:46:43 +0200
committerLars Wirzenius <liw@liw.fi>2018-11-03 16:46:43 +0200
commite3b9df529d8aaa05176645ec1563d271416cb107 (patch)
treec3fbb6451dee0c33d50e002e632d6c4ba3f85274 /yarns/900-implements.yarn
parent2cc553b5ef629103990683c5ca3e40ff27f2c49d (diff)
downloadmuck-poc-e3b9df529d8aaa05176645ec1563d271416cb107.tar.gz
Add: scenario steps for checking /status
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn3
1 files changed, 3 insertions, 0 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index 7eb0c86..1a12568 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -23,6 +23,9 @@
value = get_expanded_match()
GET('/res', {header:value})
+ IMPLEMENTS WHEN user makes request GET /status
+ GET('/status', {})
+
IMPLEMENTS WHEN user makes request GET /search with body (.+)
body = json.loads(get_expanded_match())
GET('/search', {}, body=body)