From 1ff226c881031f05bb163cb72078326bf00c8752 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 23 Oct 2021 13:59:05 -0700 Subject: [PATCH] Clarify scenarios and fix indentation --- tests/bdd/features/config_file.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/bdd/features/config_file.feature b/tests/bdd/features/config_file.feature index cbeb247b..3b3b91f5 100644 --- a/tests/bdd/features/config_file.feature +++ b/tests/bdd/features/config_file.feature @@ -1,6 +1,6 @@ Feature: Multiple journals - Scenario: Loading an alternate config with two journals + Scenario: Read a journal from an alternate config Given the config "basic_onefile.yaml" exists And we use the config "multiple.yaml" When we run "jrnl --cf basic_onefile.yaml -999" @@ -25,7 +25,7 @@ Feature: Multiple journals When we run "jrnl work --cf multiple.yaml -1" Then the output should contain "a long day in the office" - Scenario: Tell user which journal was used using an alternate config + Scenario: Tell user which journal was used while using an alternate config Given the config "multiple.yaml" exists And we use the config "basic_onefile.yaml" When we run "jrnl --cf multiple.yaml work a long day in the office" @@ -50,7 +50,7 @@ Feature: Multiple journals When we run "jrnl --cf multiple.yaml work -1" Then the output should contain "a long day in the office" - Scenario: Create new journals as required using an alternate config + Scenario: Create new journals as required using an alternate config Given the config "multiple.yaml" exists And we use the config "basic_onefile.yaml" When we run "jrnl ideas -1" @@ -60,13 +60,13 @@ Feature: Multiple journals When we run "jrnl ideas --cf multiple.yaml -1" Then the output should contain "sell my junk on ebay and make lots of money" - Scenario: Don't crash if no default journal is specified using an alternate config + Scenario: Don't crash if no default journal is specified using an alternate config Given the config "bug343.yaml" exists And we use the config "basic_onefile.yaml" When we run "jrnl --cf bug343.yaml a long day in the office" Then we should see the message "No default journal configured" - Scenario: Don't crash if no file exists for a configured encrypted journal using an alternate config + Scenario: Don't crash if no file exists for a configured encrypted journal using an alternate config Given the config "multiple.yaml" exists And we use the config "basic_onefile.yaml" When we run "jrnl new_encrypted --cf multiple.yaml Adding first entry" and enter