summaryrefslogtreecommitdiff
path: root/binds.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'binds.yaml')
-rw-r--r--binds.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/binds.yaml b/binds.yaml
index bc9d052..9d4a946 100644
--- a/binds.yaml
+++ b/binds.yaml
@@ -4,6 +4,9 @@
- given: file (?P<filename>\S+)
function: create_file
+- given: file (?P<filename>\S+) from source directory
+ function: copy_file_from_srcdir
+
- when: I run contractor build (?P<filename>\S+)
function: run_contractor_build
@@ -13,8 +16,8 @@
- then: exit code is (?P<exit_code>\d+)
function: exit_code_is
-- then: artifact (?P<filename>\S+) exists
- function: nop
+- then: file (?P<filename>\S+) exists
+ function: file_exists
- then: the JSON output matches (?P<filename>\S+)
function: stdout_json_matches_yaml_file