Update test w/ new steps

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
This commit is contained in:
Micah Jerome Ellison 2021-04-19 20:16:37 -07:00 committed by Jonathan Wren
parent a6a4417eff
commit 148d3fdb18

View file

@ -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 |