mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Update test w/ new steps
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
This commit is contained in:
parent
a6a4417eff
commit
148d3fdb18
1 changed files with 8 additions and 6 deletions
|
@ -74,12 +74,14 @@ Feature: Custom formats
|
||||||
Then the output should be valid JSON
|
Then the output should be valid JSON
|
||||||
Then we should get no error
|
Then we should get no error
|
||||||
And the output should be valid JSON
|
And the output should be valid JSON
|
||||||
And "entries" in the json output should have 2 elements
|
Given we parse the output as JSON
|
||||||
And "tags" in the json output should contain "@ipsum"
|
Then "entries" in the parsed output should have 2 elements
|
||||||
And "tags" in the json output should contain "@tagone"
|
And "tags" in the parsed output should be
|
||||||
And "tags" in the json output should contain "@tagtwo"
|
@ipsum
|
||||||
And entry 1 should have an array "tags" with 3 elements
|
@tagone
|
||||||
And entry 2 should have an array "tags" with 1 elements
|
@tagtwo
|
||||||
|
And "entries.0.tags" in the parsed output should have 3 elements
|
||||||
|
And "entries.1.tags" in the parsed output should have 1 elements
|
||||||
|
|
||||||
Examples: configs
|
Examples: configs
|
||||||
| config_file |
|
| config_file |
|
||||||
|
|
Loading…
Add table
Reference in a new issue