Simplify reminisce tests

This commit is contained in:
karimpwnz 2021-01-04 17:13:53 +02:00
parent f88eaf8f0d
commit 748fc5c835

View file

@ -246,15 +246,13 @@ Feature: Searching in a journal
Scenario: Reminiscing
Given we use the config "dates_similar.yaml"
And we set current date and time to "2016-03-05 13:37"
When we run "jrnl Hi."
Then we flush the output
And we set current date and time to "2021-01-03 15:39"
When we run "jrnl -reminisce"
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