diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-10-02 10:54:53 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-10-02 10:54:53 +0300 |
commit | 535a2bce1424ca26a7f5d5dffce4d5deca4764f1 (patch) | |
tree | 427f04298527e7536419517a1a969d610e3861e2 | |
parent | f5e8890e5adeeadae130417e0735a90afff3da5c (diff) | |
download | server-yarns-535a2bce1424ca26a7f5d5dffce4d5deca4764f1.tar.gz |
Split out files.liw.fi scenario to its own file
This will be good for the long run, so that it's not one huge file,
but rather several small ones. Easier to manage in the source.
-rw-r--r-- | 000.yarn | 20 | ||||
-rw-r--r-- | 010-files.liw.fi.yarn | 18 |
2 files changed, 18 insertions, 20 deletions
@@ -25,23 +25,3 @@ Do this with: EXAMPLE yarn --env SERVER=new.example.com ... - - -# files.liw.fi - -<http://files.liw.fi/> is where I publish various files I want to -share with others. There are no accounts, no passwords. A tiny amount -of privacy is available by not having directory listings and choosing -semi-random URLs, but mostly I just don't put anything really -sensitive there. - - SCENARIO files.liw.fi - GIVEN server is also known as files.liw.fi - - WHEN user fetches http://files.liw.fi/ - THEN HTTP status is 200 - AND HTTP body matches "Random files of mine" - - WHEN user fetches http://files.liw.fi/private/ - THEN HTTP status is 200 - AND HTTP body matches "Not for you" diff --git a/010-files.liw.fi.yarn b/010-files.liw.fi.yarn new file mode 100644 index 0000000..4ac8702 --- /dev/null +++ b/010-files.liw.fi.yarn @@ -0,0 +1,18 @@ +# files.liw.fi + +<http://files.liw.fi/> is where I publish various files I want to +share with others. There are no accounts, no passwords. A tiny amount +of privacy is available by not having directory listings and choosing +semi-random URLs, but mostly I just don't put anything really +sensitive there. + + SCENARIO files.liw.fi + GIVEN server is also known as files.liw.fi + + WHEN user fetches http://files.liw.fi/ + THEN HTTP status is 200 + AND HTTP body matches "Random files of mine" + + WHEN user fetches http://files.liw.fi/private/ + THEN HTTP status is 200 + AND HTTP body matches "Not for you" |