add more tests, add more functionality to behave for calling mock editor

This commit is contained in:
Jonathan Wren 2020-09-05 15:26:39 -07:00
parent 3c10766372
commit b0be986759
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
9 changed files with 199 additions and 146 deletions

View file

@ -1,13 +1,5 @@
Feature: Zapped bugs should stay dead.
Scenario: Writing an entry does not print the entire journal
# https://github.com/jrnl-org/jrnl/issues/87
Given we use the config "basic.yaml"
When we run "jrnl 23 july 2013: A cold and stormy day. I ate crisps on the sofa."
Then we should see the message "Entry added"
When we run "jrnl -n 1"
Then the output should not contain "Life is good"
Scenario: Date with time should be parsed correctly
# https://github.com/jrnl-org/jrnl/issues/117
Given we use the config "basic.yaml"