summaryrefslogtreecommitdiff
path: root/jt.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jt.yaml')
-rw-r--r--jt.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/jt.yaml b/jt.yaml
new file mode 100644
index 0000000..863dbeb
--- /dev/null
+++ b/jt.yaml
@@ -0,0 +1,16 @@
+- when: I run jt init (?P<dirname>\S+) (?P<journalname>\S+) "(?P<title>.*)"
+ regex: true
+ function: run_jt_init
+
+- when: I run jt list-journals
+ function: run_jt_list_journals
+
+- when: I run jt is-journal {dirname}
+ function: run_jt_is_journal
+
+- then: directory {dirname} exists
+ function: is_directory
+
+- then: output contains "(?P<pattern>.*)"
+ regex: true
+ function: output_contains