mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-10 01:16:12 +02:00
Add WIP (broken) test
This commit is contained in:
parent
6d366035e8
commit
f057689459
4 changed files with 32 additions and 1 deletions
|
@ -58,3 +58,16 @@ Feature: Basic reading and writing to a journal
|
|||
When we run "jrnl -on 2013-06-10 -s"
|
||||
Then the output should be "2013-06-10 15:40 Life is good."
|
||||
|
||||
# The input for this test is <SPACE><ENTER>y
|
||||
Scenario: --delete flag allows deletion of single entry
|
||||
Given we use the config "deletion.yaml"
|
||||
When we run "jrnl --delete"
|
||||
And we type " "
|
||||
And we type
|
||||
"""
|
||||
|
||||
y
|
||||
"""
|
||||
When we run "jrnl -on 2019-10-29 -s"
|
||||
Then the output should not contain "2019-10-29 11:11 First entry."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue