diff options
Diffstat (limited to 'muck.yaml')
-rw-r--r-- | muck.yaml | 32 |
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 |