diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-07-26 09:49:46 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-07-26 09:49:46 +0300 |
commit | 15b9b937786220a2169146c21a501b54039f53a3 (patch) | |
tree | bf8cf5d4f186dd9421b8733002101f012cc52e31 /ewww.yaml | |
parent | 522dfaaf2d6cfc2977f0ec39cb787e4932d9c49a (diff) | |
download | ewww-15b9b937786220a2169146c21a501b54039f53a3.tar.gz |
refactor: "when I create" to "given file"
Diffstat (limited to 'ewww.yaml')
-rw-r--r-- | ewww.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |