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: Tagging
Scenario: Displaying tags
Given we use the config "tags.json"
Given we use the config "tags.yaml"
When we run "jrnl --tags"
Then we should get no error
and the output should be
@ -12,7 +12,7 @@ Feature: Tagging
"""
Scenario: Filtering journals should also filter tags
Given we use the config "tags.json"
Given we use the config "tags.yaml"
When we run "jrnl -from 'may 2013' --tags"
Then we should get no error
and the output should be
@ -22,7 +22,7 @@ Feature: Tagging
"""
Scenario: Tags should allow certain special characters
Given we use the config "tags-216.json"
Given we use the config "tags-216.yaml"
When we run "jrnl --tags"
Then we should get no error
and the output should be
@ -32,7 +32,7 @@ Feature: Tagging
@c# : 1
"""
Scenario: An email should not be a tag
Given we use the config "tags-237.json"
Given we use the config "tags-237.yaml"
When we run "jrnl --tags"
Then we should get no error
and the output should be
@ -42,7 +42,7 @@ Feature: Tagging
"""
Scenario: Entry cans start and end with tags
Given we use the config "basic.json"
Given we use the config "basic.yaml"
When we run "jrnl today: @foo came over, we went to a @bar"
When we run "jrnl --tags"
Then the output should be