diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-22 18:01:09 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-22 18:01:09 +0200 |
commit | c3c6f20cca633d6cc31d34ee1cffe4e2c4a2987b (patch) | |
tree | 52f6471269cf71f04f86b4768e5e8acb5bd87ca4 | |
parent | 295b718e69f06d0b4a4dc20d76a63e459d10f112 (diff) | |
download | jt-c3c6f20cca633d6cc31d34ee1cffe4e2c4a2987b.tar.gz |
Add test for removing drafts
-rw-r--r-- | yarns/020-basic-workflow.yarn | 5 |
1 files changed, 5 insertions, 0 deletions
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 |