Add more journal types in search

This commit is contained in:
Micah Jerome Ellison 2020-09-24 20:18:27 -07:00
parent 56a7cc97a4
commit 8c9dce4bc5

View file

@ -53,16 +53,21 @@ Feature: Searching in a journal
| empty_folder | | empty_folder |
| dayone | | dayone |
Scenario: Searching for a string Scenario Outline: Searching for a string
Given we use the config "simple.yaml" Given we use the config "<config>.yaml"
When we run "jrnl -contains life" When we run "jrnl -contains first --short"
Then we should get no error Then we should get no error
And the output should be And the output should be
""" """
2013-06-10 15:40 Life is good. 2020-08-29 11:11 Entry the first.
| But I'm better.
""" """
Examples: configs
| config |
| basic_onefile |
| basic_folder |
| basic_dayone |
Scenario: Searching for a string within tag results Scenario: Searching for a string within tag results
Given we use the config "tags.yaml" Given we use the config "tags.yaml"
When we run "jrnl @idea -contains software" When we run "jrnl @idea -contains software"