Add calendar export test scaffolding

This commit is contained in:
Aaron Lichtman 2023-07-03 04:41:51 -07:00
parent 0a2f040a9e
commit 1fa091d7dc
No known key found for this signature in database
GPG key ID: D046D019DC745EDA
2 changed files with 20 additions and 1 deletions

View file

@ -565,6 +565,19 @@ Feature: Custom formats
| basic_dayone.yaml |
Scenario Outline: Export calendar heatmap
Given we use the config "<config_file>"
And we use the password "test" if prompted
When we run "jrnl --format calendar"
Then the output should be
2013-06-09, 1
2013-06-10, 1
Examples: configs
| config_file |
| simple.yaml |
Scenario Outline: display_format short and pretty do not crash if specified as config values
Given we use the config "<config_file>"
And we use the password "test" if prompted