diff --git a/tests/bdd/features/encrypt.feature b/tests/bdd/features/encrypt.feature index 31d53520..cb7cc55b 100644 --- a/tests/bdd/features/encrypt.feature +++ b/tests/bdd/features/encrypt.feature @@ -40,3 +40,12 @@ Feature: Encrypting and decrypting journals Then we should be prompted for a password And the output should contain "2013-06-10 15:40 Life is good" + Scenario Outline: Running jrnl with encrypt: true on unencryptable journals + Given we use the config "" + When we run "jrnl here is a new entry" + Then the error output should contain "is not encrypted" + + Examples: configs + | config_file | + | basic_folder.yaml | + | basic_dayone.yaml |