summaryrefslogtreecommitdiff
path: root/muck.yaml
blob: 0e1f1898014376449fca1e141e86850478b7c979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- given: I am (?P<username>\S+)
- given: a running Muck
- then: "it doesn't exist"
- then: I get (?P<json>.+)
- then: I only get resource (?P<id>\S+)
- then: it has revision (?P<revision>\S+)
- then: it is mine
- then: it works
- then: remember the resource id as (?P<name>\S+)
- then: remember the resource revision as (?P<name>\S+)
- then: there are (?P<number>\d+) resources in Muck
- then: there are no matches
- then: there are no resources in Muck
- then: there is (?P<number>\d+) resource in Muck
- when: I create a resource (?P<json>.+)
- when: I delete (?P<id>\S+)
- when: I fetch resource (?P<id>\S+)
- when: I search for (?P<field>\S+) being (?P<value>.+)
- when: I update (?P<id>\S+), revision (?P<rev>\S+), with (?P<json>.+)
- when: Muck is restarted