Initial support for DayOne integration testing

This commit is contained in:
Manuel Ebert 2013-08-17 11:59:51 -07:00
parent 58ea57f62b
commit 8446908139
7 changed files with 176 additions and 1 deletions

17
features/dayone.feature Normal file
View file

@ -0,0 +1,17 @@
Feature: DayOne Ingetration
Scenario: Loading a DayOne Journal
Given we use the config "dayone.json"
When we run "jrnl -until now"
Then we should get no error
and the output should be
"""
2013-05-17 11:39 This entry has tags!
2013-06-17 20:38 This entry has a location.
2013-07-17 11:38 This entry is starred!
2013-08-17 11:37 This is a DayOne entry.
"""