summaryrefslogtreecommitdiff
path: root/subplot/data.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-08 08:51:14 +0200
committerLars Wirzenius <liw@liw.fi>2020-12-08 10:43:22 +0200
commitf75eb2433ac790891eaeb07248cf98d525cd5a13 (patch)
tree07930c76003e0495f384e626b7fcc91dbb031816 /subplot/data.yaml
parent2e92cbb0aefbde6a015c67e3886514c8af61cb5b (diff)
downloadobnam2-f75eb2433ac790891eaeb07248cf98d525cd5a13.tar.gz
refactor: move functions around so that data stuff is in data.yaml
Diffstat (limited to 'subplot/data.yaml')
-rw-r--r--subplot/data.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/subplot/data.yaml b/subplot/data.yaml
index 8006240..4f9871a 100644
--- a/subplot/data.yaml
+++ b/subplot/data.yaml
@@ -6,5 +6,11 @@
- given: "a file {filename} containing some random data"
function: create_file_with_random_data
-- then: "data in {live} and {restore} match"
- function: live_and_restored_data_match
+- given: a manifest of the directory {dirname} in {manifest}
+ function: create_manifest_of_live
+
+- given: a manifest of the directory {dirname} restored in {restored} in {manifest}
+ function: create_manifest_of_restored
+
+- then: files {first} and {second} match
+ function: files_match