mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Add scenario for tags export
This commit is contained in:
parent
3c1496eed2
commit
2bd4bc30b3
1 changed files with 10 additions and 0 deletions
|
@ -89,3 +89,13 @@ Feature: Exporting a Journal
|
|||
Then the output should be a valid XML string
|
||||
And "entries" node in the xml output should have 2 elements
|
||||
And "tags" in the xml output should contain ["@idea", "@journal", "@dan"]
|
||||
|
||||
Scenario: Exporting tags
|
||||
Given we use the config "tags.yaml"
|
||||
When we run "jrnl --export tags"
|
||||
Then the output should be
|
||||
"""
|
||||
@idea : 2
|
||||
@journal : 1
|
||||
@dan : 1
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue