mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Tests for filtering by tags
This commit is contained in:
parent
c89247ef94
commit
82aa081b91
1 changed files with 12 additions and 4 deletions
|
@ -33,8 +33,8 @@ Feature: DayOne Ingetration
|
|||
When we run "jrnl --tags"
|
||||
Then the output should be
|
||||
"""
|
||||
work : 1
|
||||
play : 1
|
||||
@work : 1
|
||||
@play : 1
|
||||
"""
|
||||
|
||||
Scenario: Saving tags from a DayOne Journal
|
||||
|
@ -43,6 +43,14 @@ Feature: DayOne Ingetration
|
|||
and we run "jrnl --tags"
|
||||
Then the output should be
|
||||
"""
|
||||
work : 2
|
||||
play : 1
|
||||
@work : 2
|
||||
@play : 1
|
||||
"""
|
||||
|
||||
Scenario: Filtering by tags from a DayOne Journal
|
||||
Given we use the config "dayone.json"
|
||||
When we run "jrnl @work"
|
||||
Then the output should be
|
||||
"""
|
||||
2013-05-17 11:39 This entry has tags!
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue