Fix for tests not handling multiple input prompts

This commit is contained in:
dbxnr 2020-01-10 19:18:25 +00:00
parent 9d9f61ac1e
commit 79142bf651
4 changed files with 25 additions and 7 deletions

View file

@ -43,7 +43,10 @@ Feature: Basic reading and writing to a journal
Scenario: Writing an entry at the prompt
Given we use the config "basic.yaml"
When we run "jrnl" and enter "25 jul 2013: I saw Elvis. He's alive."
When we run "jrnl" and enter
"""
25 jul 2013: I saw Elvis. He's alive.
"""
Then we should get no error
and the journal should contain "[2013-07-25 09:00] I saw Elvis."
and the journal should contain "He's alive."