Day-first feature, create entries nondef journal with date desc order

This commit is contained in:
Juan Pablo Garcia 2017-12-11 15:07:21 -04:00
parent 8615679beb
commit b189d51ffd
5 changed files with 37 additions and 14 deletions

View file

@ -53,6 +53,18 @@ Feature: Basic reading and writing to a journal
When we run "jrnl -on 2013-06-10 --short"
Then the output should be "2013-06-10 15:40 Life is good."
Scenario: -desc displays the entries descendantly by date
Given we use the config "basic.yaml"
When we run "jrnl --desc"
Then the output should be
"""
2013-06-10 15:40 Life is good.
| But I'm better.
2013-06-09 15:39 My first entry.
| Everything is alright
"""
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"