Converts tests to YAML

This commit is contained in:
Manuel Ebert 2014-09-12 15:28:12 -07:00
parent 0a19701ae9
commit e75e3d73a0
28 changed files with 136 additions and 158 deletions

View file

@ -1,7 +1,7 @@
Feature: Exporting a Journal
Scenario: Exporting to json
Given we use the config "tags.json"
Given we use the config "tags.yaml"
When we run "jrnl --export json"
Then we should get no error
and the output should be parsable as json
@ -11,7 +11,7 @@ Feature: Exporting a Journal
and "tags" in the json output should contain "@dan"
Scenario: Exporting using filters should only export parts of the journal
Given we use the config "tags.json"
Given we use the config "tags.yaml"
When we run "jrnl -until 'may 2013' --export json"
# Then we should get no error
Then the output should be parsable as json