summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binds.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/binds.yaml b/binds.yaml
index 9d4a946..0392a78 100644
--- a/binds.yaml
+++ b/binds.yaml
@@ -1,23 +1,24 @@
- given: a working contractor
function: contractor_is_working
-- given: file (?P<filename>\S+)
+- given: file {filename}
function: create_file
-- given: file (?P<filename>\S+) from source directory
+- given: file {filename} from source directory
function: copy_file_from_srcdir
-- when: I run contractor build (?P<filename>\S+)
+- when: I run contractor build {filename}
function: run_contractor_build
-- when: I run contractor dump (?P<filename>\S+)
+- when: I run contractor dump {filename}
function: run_contractor_dump
- then: exit code is (?P<exit_code>\d+)
+ regex: true
function: exit_code_is
-- then: file (?P<filename>\S+) exists
+- then: file {filename} exists
function: file_exists
-- then: the JSON output matches (?P<filename>\S+)
+- then: the JSON output matches {filename}
function: stdout_json_matches_yaml_file