behavior test for format --pretty

This commit is contained in:
Suhas 2021-02-02 20:14:32 -05:00
parent eca002ac29
commit 1f8351a9f0
3 changed files with 43 additions and 3 deletions

View file

@ -1,4 +1,9 @@
Feature: Custom formats
Scenario: Pretty Printing aka the Default
Given We use the config "pretty.yaml"
When we run "jrnl --format pretty -3"
Then we should get no error
And the output should be pretty printed
Scenario Outline: JSON format
Given we use the config "<config>.yaml"