summaryrefslogtreecommitdiff
path: root/yarns/100-hello.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/100-hello.yarn')
-rw-r--r--yarns/100-hello.yarn9
1 files changed, 4 insertions, 5 deletions
diff --git a/yarns/100-hello.yarn b/yarns/100-hello.yarn
index 6eeecfd..d719497 100644
--- a/yarns/100-hello.yarn
+++ b/yarns/100-hello.yarn
@@ -6,11 +6,10 @@ stop the controller, and make requests to it.
SCENARIO controller smoke test
GIVEN a running controller instance
- WHEN client makes request GET /version
- THEN HTTP status code is 200
- AND result matches { "version": "1.0" }
+ WHEN user calls GET /version
+ THEN response has status 200, and JSON body "{ "version": "1.0" }"
- WHEN client makes request GET /blatherskite
- THEN HTTP status code is 404
+ WHEN user calls GET /blatherskite
+ THEN response has status 404
FINALLY stop controller instance