diff options
Diffstat (limited to 'yarns/100-hello.yarn')
-rw-r--r-- | yarns/100-hello.yarn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/yarns/100-hello.yarn b/yarns/100-hello.yarn new file mode 100644 index 0000000..6eeecfd --- /dev/null +++ b/yarns/100-hello.yarn @@ -0,0 +1,16 @@ +# Controller smoke test + +This scenario is just for making sure we can, in our tests, start and +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 client makes request GET /blatherskite + THEN HTTP status code is 404 + + FINALLY stop controller instance |