From 8d065a4173e03dc26cf17cfc733d5007aa5f2735 Mon Sep 17 00:00:00 2001 From: sriniv27 Date: Fri, 12 Feb 2021 19:42:16 -0500 Subject: [PATCH] update wip test for updating a "temp" journal and then reading baack its entries --- features/overrides.feature | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/features/overrides.feature b/features/overrides.feature index af6d0801..ebd9725c 100644 --- a/features/overrides.feature +++ b/features/overrides.feature @@ -83,16 +83,16 @@ Feature: Implementing Runtime Overrides for Select Configuration Keys Scenario: Make an entry into an overridden journal Given we use the config "basic_dayone.yaml" And we use the password "test" if prompted - When we run "jrnl 06 September 2069: @knights Ni --config-override journal features/journals/simple.journal " - And we run "jrnl -3" - Then the output should be + When we run "jrnl --config-override journals.temp features/journals/simple.journal temp Sep 06 1969: @say Ni" + And we run "jrnl --config-override journals.temp features/journals/simple.journal temp -3" + Then we should get no error + And the output should be """ - + 1969-09-06 09:00 @say Ni + 2013-06-09 15:39 My first entry. | Everything is alright - + 2013-06-10 15:40 Life is good. | But I'm better. - - 2069-06-09 9:00 @knights Ni """ \ No newline at end of file