Add failing test for new error message about unencryptable journals

This commit is contained in:
Micah Jerome Ellison 2021-08-21 12:59:37 -07:00
parent 9de723d014
commit 3e801f1b10

View file

@ -40,3 +40,12 @@ Feature: Encrypting and decrypting journals
Then we should be prompted for a password Then we should be prompted for a password
And the output should contain "2013-06-10 15:40 Life is good" 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 "<config_file>"
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 |