summaryrefslogtreecommitdiff
path: root/ewww.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-03 09:32:52 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-03 09:32:52 +0300
commit37cc75c4b73c23ca4318333fb095cb0b8f9add19 (patch)
treea4669bf1796dae6da677b51e4b8b346e9116b5a5 /ewww.md
parent67a3e4bcd9b6d79f5fec75f946bd48d20f469a03 (diff)
downloadewww-37cc75c4b73c23ca4318333fb095cb0b8f9add19.tar.gz
Change: add a more realistic smoke test
Diffstat (limited to 'ewww.md')
-rw-r--r--ewww.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/ewww.md b/ewww.md
index 7d2ed8d..9621570 100644
--- a/ewww.md
+++ b/ewww.md
@@ -99,7 +99,16 @@ hosts:
~~~
-## Not really a smoke test
+## Smoke test
+
+~~~scenario
+given a running server using config file smoke.yaml
+when I create webroot/foo with "hello, world"
+and I request GET https://example.com/foo
+then I get status code 200
+and header content-type is "text/plain"
+and body is "hello, world\n"
+~~~
~~~scenario-disabled
given a self-signed certificate as snakeoil.pem, using key snakeoil.key