summaryrefslogtreecommitdiff
path: root/muck.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-05-25 20:22:41 +0300
committerLars Wirzenius <liw@liw.fi>2019-05-25 20:22:41 +0300
commit4c0f475beb0f4c445d55f46670a1b6d8dcd9b129 (patch)
treee19659e259a5e77cda5bd813f6197c7f41d43a51 /muck.yaml
parentcfc37ea567a5024a692ba929fa2338faa7403a92 (diff)
downloadfable-poc-4c0f475beb0f4c445d55f46670a1b6d8dcd9b129.tar.gz
Add: first rough draft of fft-docgen
Diffstat (limited to 'muck.yaml')
-rw-r--r--muck.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/muck.yaml b/muck.yaml
new file mode 100644
index 0000000..afc7249
--- /dev/null
+++ b/muck.yaml
@@ -0,0 +1,32 @@
+- pattern: when I fetch resource (?P<id>\S+)
+- pattern: and I fetch resource (?P<id>\S+)
+
+- pattern: then it has revision (?P<revision>\S+)
+- pattern: and it has revision (?P<revision>\S+)
+
+- pattern: then it is mine
+- pattern: and it is mine
+
+- pattern: then remember the resource id as (?P<name>\S+)
+- pattern: and remember the resource id as (?P<name>\S+)
+
+- pattern: then remember the resource revision as (?P<name>\S+)
+- pattern: and remember the resource revision as (?P<name>\S+)
+
+- pattern: given I am (?P<username>\S+)
+- pattern: given a running Muck
+- pattern: then I only get resource (?P<id>\S+)
+- pattern: then I get (?P<json>.+)
+- pattern: "then it doesn't exist"
+- pattern: then it works
+- pattern: then there are no resources in Muck
+
+- pattern: then there is (?P<number>\d+) resource in Muck
+- pattern: then there are (?P<number>\d+) resources in Muck
+
+- pattern: then there are no matches
+- pattern: when I create a resource (?P<json>.+)
+- pattern: when I delete (?P<id>\S+)
+- pattern: when I search for (?P<field>\S+) being (?P<value>.+)
+- pattern: when I update (?P<id>\S+), revision (?P<rev>\S+), with (?P<json>.+)
+- pattern: when Muck is restarted