summaryrefslogtreecommitdiffstats
path: root/features/core.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/core.feature')
-rw-r--r--features/core.feature7
1 files changed, 7 insertions, 0 deletions
diff --git a/features/core.feature b/features/core.feature
index 61a6bf57..3a9b9c7c 100644
--- a/features/core.feature
+++ b/features/core.feature
@@ -20,6 +20,13 @@ Feature: Basic reading and writing to a journal
When we run "jrnl -n 1"
Then the output should contain "2013-07-23 09:00 A cold and stormy day."
+ Scenario: Filtering for dates
+ Given we use the config "basic.json"
+ When we run "jrnl -on 2013-06-10 --short"
+ Then the output should be "2013-06-10 15:40 Life is good."
+ When we run "jrnl -on 'june 6 2013' --short"
+ Then the output should be "2013-06-10 15:40 Life is good."
+
Scenario: Emoji support
Given we use the config "basic.json"
When we run "jrnl 23 july 2013: 🌞 sunny day. Saw an 🐘"