Add test for aborting jrnl entry from editor

This commit is contained in:
Aaron Lichtman 2019-11-15 09:27:01 +01:00
parent 2890e33cac
commit 7a90f4076d
No known key found for this signature in database
GPG key ID: 22368077DE9F9903
5 changed files with 44 additions and 1 deletions

View file

@ -20,6 +20,11 @@ Feature: Basic reading and writing to a journal
When we run "jrnl -n 1"
Then the output should contain "2013-07-23 09:00 A cold and stormy day."
Scenario: Writing an empty entry from the editor
Given we use the config "editor.yaml"
When we open the editor and exit
Then the output should be empty
Scenario: Filtering for dates
Given we use the config "basic.yaml"
When we run "jrnl -on 2013-06-10 --short"