summaryrefslogtreecommitdiff
path: root/muck.yaml
blob: afc7249b234830f491376614f049761c033b0462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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