summaryrefslogtreecommitdiff
path: root/ewww.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ewww.yaml')
-rw-r--r--ewww.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ewww.yaml b/ewww.yaml
index 08a13e4..375558d 100644
--- a/ewww.yaml
+++ b/ewww.yaml
@@ -8,6 +8,10 @@
- given: "{count} files in {dirname}"
function: fixme
+- given: file (?P<filename>\S+) with "(?P<content>.*)"
+ regex: true
+ function: create_file
+
- then: I am redirected to {location}
function: fixme
@@ -25,10 +29,6 @@
regex: true
function: http_body_is
-- when: I create (?P<filename>\S+) with "(?P<content>.*)"
- regex: true
- function: create_file
-
- when: I request {method} {url}
function: request