summaryrefslogtreecommitdiff
path: root/yarns/100-hello.yarn
blob: 6eeecfde5aba854762db91e81d8d6e76ebc837f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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