mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 21:46:13 +02:00
Test for decrypting journals when password is saved in config
This commit is contained in:
parent
bf69e0042e
commit
601e574d91
2 changed files with 19 additions and 0 deletions
|
@ -6,6 +6,11 @@
|
|||
Then we should see the message "Password"
|
||||
and the output should contain "2013-06-10 15:40 Life is good"
|
||||
|
||||
Scenario: Loading an encrypted journal with password in config
|
||||
Given we use the config "encrypted_with_pw.json"
|
||||
When we run "jrnl -n 1"
|
||||
Then the output should contain "2013-06-10 15:40 Life is good"
|
||||
|
||||
Scenario: Decrypting a journal
|
||||
Given we use the config "encrypted.json"
|
||||
When we run "jrnl --decrypt" and enter "bad doggie no biscuit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue