From 3ac2b9515662c4773d4e4c004724cc74193d9622 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 22 Oct 2022 13:08:20 -0700 Subject: [PATCH] rename test config --- tests/bdd/features/config_file.feature | 4 ++-- tests/bdd/features/multiple_journals.feature | 2 +- tests/data/configs/{bug343.yaml => no_default_journal.yaml} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename tests/data/configs/{bug343.yaml => no_default_journal.yaml} (100%) diff --git a/tests/bdd/features/config_file.feature b/tests/bdd/features/config_file.feature index 6c24f1e5..7a19facd 100644 --- a/tests/bdd/features/config_file.feature +++ b/tests/bdd/features/config_file.feature @@ -64,9 +64,9 @@ Feature: Multiple journals 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 - Given the config "bug343.yaml" exists + Given the config "no_default_journal.yaml" exists And we use the config "basic_onefile.yaml" - When we run "jrnl --cf bug343.yaml a long day in the office" + When we run "jrnl --cf no_default_journal.yaml a long day in the office" Then the output should contain "No default journal configured" Scenario: Don't crash if no file exists for a configured encrypted journal using an alternate config diff --git a/tests/bdd/features/multiple_journals.feature b/tests/bdd/features/multiple_journals.feature index 3c2c7b73..f4463732 100644 --- a/tests/bdd/features/multiple_journals.feature +++ b/tests/bdd/features/multiple_journals.feature @@ -80,7 +80,7 @@ Feature: Multiple journals 2012-07-23 09:00 sell my junk on ebay and make lots of money Scenario: Don't crash if no default journal is specified - Given we use the config "bug343.yaml" + Given we use the config "no_default_journal.yaml" When we run "jrnl a long day in the office" Then the output should contain "No default journal configured" diff --git a/tests/data/configs/bug343.yaml b/tests/data/configs/no_default_journal.yaml similarity index 100% rename from tests/data/configs/bug343.yaml rename to tests/data/configs/no_default_journal.yaml