Add failing test for configuring an encrypted journal

This commit is contained in:
Greg Bodnar 2019-08-03 16:48:10 +12:00
parent 1283157d56
commit 18ba16ad66
2 changed files with 8 additions and 0 deletions

View file

@ -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: '@'

View file

@ -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