From c3c6f20cca633d6cc31d34ee1cffe4e2c4a2987b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 22 Nov 2014 18:01:09 +0200 Subject: Add test for removing drafts --- yarns/020-basic-workflow.yarn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yarns/020-basic-workflow.yarn b/yarns/020-basic-workflow.yarn index 07f4a7c..fc1c756 100644 --- a/yarns/020-basic-workflow.yarn +++ b/yarns/020-basic-workflow.yarn @@ -44,3 +44,8 @@ Now, finishing drafts requires naming them explicitly. WHEN I run jt finish 1 THEN file SRC/drafts/0.mdwn matches title="FIRST" AND file SRC/notes/2014/11/22/second.mdwn matches title="SECOND" + +We may want to remove a draft without finishing it. + + WHEN I run jt remove 0 + THEN file SRC/drafts/0.mdwn doesn't exist -- cgit v1.2.1