diff --git a/features/regression.feature b/features/regression.feature index 0811af4e..aa78ae3b 100644 --- a/features/regression.feature +++ b/features/regression.feature @@ -53,3 +53,22 @@ Feature: Zapped bugs should stay dead. 2013-06-10 15:40 He said "[this] is the best time to be alive". """ + Scenario: Title with an embedded period on DayOne journal + Given we use the config "dayone.yaml" + When we run "jrnl 04-24-2014: "Ran 6.2 miles today in 1:02:03. I'm feeling sore because I forgot to stretch."" + Then we should see the message "Entry added" + When we run "jrnl -1" + Then the output should be + """ + 2014-04-24 09:00 Ran 6.2 miles today in 1:02:03. + | I'm feeling sore because I forgot to stretch. + """ + + Scenario: DayOne tag searching should work with tags containing a mixture of upper and lower case. + # https://github.com/maebert/jrnl/issues/354 + Given we use the config "dayone.yaml" + When we run "jrnl @plAy" + Then the output should contain + """ + 2013-05-17 11:39 This entry has tags! + """