fix up tests and related issues

This commit is contained in:
Jonathan Wren 2020-02-29 14:44:42 -08:00
parent 47e0305aa0
commit 4d768ae433
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
4 changed files with 9 additions and 63 deletions

View file

@ -36,12 +36,12 @@ Feature: Basic reading and writing to a journal
@skip_win
Scenario: Writing an empty entry from the editor
Given we use the config "editor.yaml"
When we open the editor and enter ""
When we open the editor and enter nothing
Then we should see the message "[Nothing saved to file]"
Scenario: Writing an empty entry from the command line
Given we use the config "basic.yaml"
When we run "jrnl" and enter ""
When we run "jrnl" and enter nothing
Then the output should be
"""