From 8c9dce4bc5a4b3bc74fd022db3838d17d1aa244d Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Thu, 24 Sep 2020 20:18:27 -0700 Subject: [PATCH] Add more journal types in search --- features/search.feature | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/features/search.feature b/features/search.feature index bbac15fe..1cf7702a 100644 --- a/features/search.feature +++ b/features/search.feature @@ -53,16 +53,21 @@ Feature: Searching in a journal | empty_folder | | dayone | - Scenario: Searching for a string - Given we use the config "simple.yaml" - When we run "jrnl -contains life" + Scenario Outline: Searching for a string + Given we use the config ".yaml" + When we run "jrnl -contains first --short" Then we should get no error And the output should be """ - 2013-06-10 15:40 Life is good. - | But I'm better. + 2020-08-29 11:11 Entry the first. """ + Examples: configs + | config | + | basic_onefile | + | basic_folder | + | basic_dayone | + Scenario: Searching for a string within tag results Given we use the config "tags.yaml" When we run "jrnl @idea -contains software"