diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-23 11:48:09 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-23 11:48:09 +0200 |
commit | 6eec9f17e97e408b4c82f001ffc8a7ea399a0ed6 (patch) | |
tree | d9effdb8202f89bf820bf16ba39e4bbe268c5edf /yarns | |
parent | c1ac7db2f3ab0d64e82c569a4282f05041bd0d53 (diff) | |
download | jt-tmp-6eec9f17e97e408b4c82f001ffc8a7ea399a0ed6.tar.gz |
Check that topic pages exist
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/030-topics.yarn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yarns/030-topics.yarn b/yarns/030-topics.yarn index e931ae3..cad687c 100644 --- a/yarns/030-topics.yarn +++ b/yarns/030-topics.yarn @@ -15,3 +15,8 @@ topic. GIVEN the time is 2014-11-20 20:04:08 WHEN I run jt new --topic=research/2014/dishwasher TITLE THEN file SRC/drafts/0.mdwn matches research/2014/dishwasher + +We should get an error if the topic doesn't exist. + + WHEN I try to run jt new --topic=does/not/exist YEEHAA + THEN it fails |