Regression test for future timestamps

This commit is contained in:
Manuel Ebert 2014-07-21 17:33:39 +09:00
parent 4dbdc7032d
commit 286366ae85

View file

@ -21,6 +21,13 @@ Feature: Zapped bugs should stay dead.
Then we should see the message "Entry added"
and the journal should contain "2013-11-30 15:42 Project Started."
Scenario: Date in the future should be parsed correctly
# https://github.com/maebert/jrnl/issues/185
Given we use the config "basic.json"
When we run "jrnl 26/06/2019: Planet? Earth. Year? 2019."
Then we should see the message "Entry added"
and the journal should contain "2019-06-26 09:00 Planet?"
Scenario: Loading entry with ambiguous time stamp
#https://github.com/maebert/jrnl/issues/153
Given we use the config "bug153.json"