mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 00:58:31 +02:00
* fixup alichtman's implementation * cleanup imports Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com> Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
20 lines
513 B
Gherkin
20 lines
513 B
Gherkin
Feature: Delete entries from journal
|
|
|
|
Scenario: --delete flag allows deletion of single entry
|
|
Given we use the config "deletion.yaml"
|
|
When we run "jrnl -n 1"
|
|
Then the output should contain
|
|
"""
|
|
2019-10-29 11:13 Third entry.
|
|
"""
|
|
When we run "jrnl --delete" and enter
|
|
"""
|
|
N
|
|
N
|
|
Y
|
|
"""
|
|
When we run "jrnl -n 1"
|
|
Then the output should contain
|
|
"""
|
|
2019-10-29 11:11 Second entry.
|
|
"""
|