summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-12-04 17:59:44 +0100
committerLars Wirzenius <liw@liw.fi>2016-12-04 17:59:44 +0100
commit391a514339cdc3bd226b02ad45f95e36415d60ca (patch)
tree908940b5a12d7a208c2fa95aa1d1296ad1e699ee
parente55190037a958b337f1b55785c62d00a34d2e3f0 (diff)
downloadserver-yarns-391a514339cdc3bd226b02ad45f95e36415d60ca.tar.gz
Add scenario for distix.obnam.org
-rw-r--r--050-distix.obnam.org.yarn24
1 files changed, 24 insertions, 0 deletions
diff --git a/050-distix.obnam.org.yarn b/050-distix.obnam.org.yarn
new file mode 100644
index 0000000..90a840f
--- /dev/null
+++ b/050-distix.obnam.org.yarn
@@ -0,0 +1,24 @@
+# distix.obnam.org
+
+`distix.obnam.org` is where I publish a static website showing the
+status of my Obnam distix instances.
+
+ SCENARIO distix.obnam.org
+ GIVEN server is also known as distix.obnam.org
+
+ WHEN user fetches http://distix.obnam.org/
+ THEN HTTP status is 200
+ AND HTTP body matches "distix"
+ AND HTTP body matches "obnam-support"
+ AND HTTP body matches "obnam-dev"
+
+ WHEN user fetches http://distix.obnam.org/obnam-dev/
+ THEN HTTP status is 200
+ AND HTTP body matches "distix"
+ AND HTTP body matches "Obnam development"
+
+ WHEN user fetches http://distix.obnam.org/obnam-support/
+ THEN HTTP status is 200
+ AND HTTP body matches "distix"
+ AND HTTP body matches "Obnam"
+ AND HTTP body matches "support"