mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 03:58:32 +02:00
Add failing test for new error message about unencryptable journals
This commit is contained in:
parent
9de723d014
commit
3e801f1b10
1 changed files with 9 additions and 0 deletions
|
@ -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 |
|
||||||
|
|
Loading…
Add table
Reference in a new issue