mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 00:58:31 +02:00
Add failing test for configuring an encrypted journal
This commit is contained in:
parent
714ed2cc9f
commit
d0d54f54ee
2 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,9 @@ journals:
|
|||
ideas: features/journals/nothing.journal
|
||||
simple: features/journals/simple.journal
|
||||
work: features/journals/work.journal
|
||||
new_encrypted:
|
||||
encrypt: true
|
||||
journal: features/journals/new_encrypted.journal
|
||||
linewrap: 80
|
||||
password: ''
|
||||
tagsymbols: '@'
|
||||
|
|
|
@ -39,3 +39,8 @@ Feature: Multiple journals
|
|||
Given we use the config "bug343.yaml"
|
||||
When we run "jrnl a long day in the office"
|
||||
Then we should see the message "No default journal configured"
|
||||
|
||||
Scenario: Don't crash if no file exists for a configured encrypted journal
|
||||
Given we use the config "multiple.yaml"
|
||||
When we run "jrnl new_encrypted Adding first entry"
|
||||
Then journal "new_encrypted" should have 1 entry
|
||||
|
|
Loading…
Add table
Reference in a new issue