Merge branch 'moar-tests' of https://github.com/wren/jrnl into moar-tests

This commit is contained in:
Micah Jerome Ellison 2020-09-24 19:54:14 -07:00
commit f740145e11
24 changed files with 327 additions and 82 deletions

View file

@ -54,7 +54,7 @@ Feature: Searching in a journal
| dayone |
Scenario: Searching for a string
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
When we run "jrnl -contains life"
Then we should get no error
And the output should be
@ -82,7 +82,7 @@ Feature: Searching in a journal
And the output should contain "software"
Scenario: Searching for dates
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
When we run "jrnl -on 2013-06-10 --short"
Then the output should be "2013-06-10 15:40 Life is good."
When we run "jrnl -on 'june 6 2013' --short"
@ -111,7 +111,7 @@ Feature: Searching in a journal
Then the output should contain "2013-05-17 11:39 This entry has tags!"
Scenario: Loading a sample journal
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
When we run "jrnl -2"
Then we should get no error
And the output should be