diff --git a/features/format.feature b/features/format.feature index 4981f685..21ff6dfd 100644 --- a/features/format.feature +++ b/features/format.feature @@ -1,4 +1,19 @@ Feature: Custom formats + Scenario: Pretty Printed output + Given we use the config "editor.yaml" + When we run "jrnl --format pretty -3" + Then we should get no error + And the output should be pretty printed text + And the output should be: + """ + + 2013-06-09 15:39 My first entry. + | Everything is alright + + 2013-06-10 15:40 Life is good. + | But I'm better. + + """ Scenario Outline: JSON format Given we use the config ".yaml"