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

@ -78,13 +78,12 @@ Feature: Tagging
And we run "jrnl today: I think this will show up @thought"
And we run "jrnl today: This should @never show up @thought"
And we run "jrnl today: What a nice day for filtering @thought"
And we run "jrnl --tags -not @not @never"
And we run "jrnl --tags -not @not -not @never"
Then the output should be
"""
@thought : 2
"""
Scenario: Printing a journal that has multiline entries with tags
Given we use the config "multiline-tags.yaml"
When we run "jrnl -n 1"