diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-05-03 09:12:21 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-05-03 09:12:21 +0000 |
commit | b2deb18a85a268966b4c5d6215c1b5e95cf22fd1 (patch) | |
tree | 5e77dbc07069e3c36a73373e4a604adf37fcd46f | |
parent | f859c82e6cfb2119dc6eee4ab768df4b4a9e19fc (diff) | |
parent | 99d7c5b7218d98053f35a7f7e9d99b0e2b7476ec (diff) | |
download | ick-contractor-b2deb18a85a268966b4c5d6215c1b5e95cf22fd1.tar.gz |
Merge branch 'fix' into 'master'
Fix: bindings to work with new Subplot patterns
See merge request larswirzenius/contractor!8
-rw-r--r-- | binds.yaml | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |