Core testing

This commit is contained in:
Manuel Ebert 2013-07-18 22:49:22 +02:00
parent b2b842711d
commit 47c90b6d40
4 changed files with 57 additions and 0 deletions

14
features/core.feature Normal file
View file

@ -0,0 +1,14 @@
Feature: Basic reading and writing to a journal
Scenario: Loading a sample journal
Given we use "basic.json"
When we run "jrnl -n 2"
Then we should get no error
Then the output should be
"""
2013-06-09 15:39 My first entry.
| Everything is alright
2013-06-10 15:40 Life is good.
| But I'm better.
"""