Merge branch 'pr/342' into 2.0-rc1

This commit is contained in:
Manuel Ebert 2015-04-20 14:15:57 +02:00
commit 57ef796ccb
3 changed files with 16 additions and 5 deletions

View file

@ -47,3 +47,14 @@ Feature: Basic reading and writing to a journal
When we run "jrnl -v"
Then we should get no error
Then the output should contain "version"
Scenario: --short displays the short version of entries (only the title)
Given we use the config "basic.yaml"
When we run "jrnl -on 2013-06-10 --short"
Then the output should be "2013-06-10 15:40 Life is good."
Scenario: -s displays the short version of entries (only the title)
Given we use the config "basic.yaml"
When we run "jrnl -on 2013-06-10 -s"
Then the output should be "2013-06-10 15:40 Life is good."