mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Simplify reminisce tests
This commit is contained in:
parent
f88eaf8f0d
commit
748fc5c835
1 changed files with 3 additions and 5 deletions
|
@ -246,15 +246,13 @@ Feature: Searching in a journal
|
||||||
|
|
||||||
Scenario: Reminiscing
|
Scenario: Reminiscing
|
||||||
Given we use the config "dates_similar.yaml"
|
Given we use the config "dates_similar.yaml"
|
||||||
And we set current date and time to "2016-03-05 13:37"
|
And we set current date and time to "2021-01-03 15:39"
|
||||||
When we run "jrnl Hi."
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -reminisce"
|
When we run "jrnl -reminisce"
|
||||||
Then the output should be
|
Then the output should be
|
||||||
"""
|
"""
|
||||||
2016-03-05 13:37 Hi.
|
2019-01-03 10:08 Hi.
|
||||||
|
|
||||||
2018-03-05 08:06 Hi.
|
2021-01-03 15:39 Hi.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
Scenario: Loading a DayOne Journal
|
Scenario: Loading a DayOne Journal
|
||||||
|
|
Loading…
Add table
Reference in a new issue