diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-11-03 16:46:43 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-11-03 16:46:43 +0200 |
commit | e3b9df529d8aaa05176645ec1563d271416cb107 (patch) | |
tree | c3fbb6451dee0c33d50e002e632d6c4ba3f85274 /yarns/900-implements.yarn | |
parent | 2cc553b5ef629103990683c5ca3e40ff27f2c49d (diff) | |
download | muck-poc-e3b9df529d8aaa05176645ec1563d271416cb107.tar.gz |
Add: scenario steps for checking /status
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r-- | yarns/900-implements.yarn | 3 |
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) |