summaryrefslogtreecommitdiff
path: root/subplot/jt.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/jt.yaml')
-rw-r--r--subplot/jt.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/subplot/jt.yaml b/subplot/jt.yaml
index 6d10a3a..9c0983c 100644
--- a/subplot/jt.yaml
+++ b/subplot/jt.yaml
@@ -1,3 +1,6 @@
+- given: "an installed jt"
+ function: install_jt
+
- given: "an executable script {filename}"
function: create_script
@@ -24,9 +27,6 @@
- when: I edit draft {draftno} in {dirname} to also contain "{text}"
function: edit_draft
-- then: directory {dirname} exists
- function: is_directory
-
- then: output contains "(?P<pattern>.*)"
regex: true
function: output_contains
@@ -46,5 +46,5 @@
- then: there is one journal entry in {dirname}, at {variable}
function: journal_has_one_entry
-- then: file <{variable}> contains "{pattern:text}"
+- then: journal entry <{variable}> contains "{pattern:text}"
function: file_contains