Added ability to auto-prompt for password for encrypted journals

Only uses password when prompted, and doesn't get in the way of other
input prompts. This allows us to run the same scenarios on both
encrypted journals and other journal types.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
Jonathan Wren 2020-09-26 14:52:31 -07:00
parent fda3fe2357
commit cf369f3f84
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
5 changed files with 42 additions and 28 deletions

View file

@ -21,7 +21,7 @@ Feature: Upgrading Journals from 1.x.x to 2.x.x
bad doggie no biscuit
bad doggie no biscuit
"""
Then the output should contain "Password"
Then we should be prompted for a password
And the output should contain "2013-06-10 15:40 Life is good"
Scenario: Upgrading a config without colors to colors