summaryrefslogtreecommitdiffstats
path: root/features/tagging.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/tagging.feature')
-rw-r--r--features/tagging.feature28
1 files changed, 19 insertions, 9 deletions
diff --git a/features/tagging.feature b/features/tagging.feature
index 649ff9bf..4eba8470 100644
--- a/features/tagging.feature
+++ b/features/tagging.feature
@@ -31,12 +31,22 @@ Feature: Tagging
@c++ : 1
@c# : 1
"""
- Scenario: An email should not be a tag
- Given we use the config "tags-237.json"
- When we run "jrnl --tags"
- Then we should get no error
- and the output should be
- """
- @newline : 1
- @email : 1
- """ \ No newline at end of file
+ Scenario: An email should not be a tag
+ Given we use the config "tags-237.json"
+ When we run "jrnl --tags"
+ Then we should get no error
+ and the output should be
+ """
+ @newline : 1
+ @email : 1
+ """
+
+ Scenario: Entry cans start and end with tags
+ Given we use the config "basic.json"
+ When we run "jrnl today: @foo came over, we went to a @bar"
+ When we run "jrnl --tags"
+ Then the output should be
+ """
+ @foo : 1
+ @bar : 1
+ """