summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-03-09 10:13:48 +0200
committerLars Wirzenius <liw@liw.fi>2019-03-09 10:13:48 +0200
commiteeff0a63cfb8f72a8479371366aca4c71a483509 (patch)
treeefa5a994424ed5b007df92407f9c867a0a39968e /yarns
parente6b021da4c7f58943c9bc5d5d4905ab655128973 (diff)
downloadeffi-reg-eeff0a63cfb8f72a8479371366aca4c71a483509.tar.gz
Add: check that creating resource increments /status count
Diffstat (limited to 'yarns')
-rw-r--r--yarns/000.yarn4
1 files changed, 4 insertions, 0 deletions
diff --git a/yarns/000.yarn b/yarns/000.yarn
index 57179bb..9225c70 100644
--- a/yarns/000.yarn
+++ b/yarns/000.yarn
@@ -48,6 +48,10 @@ member, to update and retrieve it, and to search memberships.
THEN HTTP status is 201
AND the member id is ID
+ WHEN admin requests GET /status
+ THEN HTTP status is 200
+ AND HTTP body matches { "resources": 1 }
+
WHEN admin requests GET /memb with header Muck-Id: ${ID}
THEN HTTP status is 200
AND HTTP body matches { "fullname": "James Bond" }