From 6eec9f17e97e408b4c82f001ffc8a7ea399a0ed6 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 23 Nov 2014 11:48:09 +0200 Subject: Check that topic pages exist --- yarns/030-topics.yarn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'yarns') 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 -- cgit v1.2.1