From 7a1cf85720490b4727fb1ee20eb4999f91d00649 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 21 Aug 2021 12:30:57 -0700 Subject: [PATCH] Add test to ensure this doesn't mess with encrypting normal journals --- tests/bdd/features/encrypt.feature | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/bdd/features/encrypt.feature b/tests/bdd/features/encrypt.feature index 19b255f2..a8b31c2e 100644 --- a/tests/bdd/features/encrypt.feature +++ b/tests/bdd/features/encrypt.feature @@ -49,3 +49,12 @@ Feature: Encrypting and decrypting journals | config_file | | empty_folder.yaml | | dayone.yaml | + + Scenario Outline: Attempt to encrypt basic journal should not result in an error + Given we use the config "" + When we run "jrnl --encrypt" + Then we should get no error + + Examples: configs + | config_file | + | simple.yaml |