This commit is contained in:
Briscoooe 2023-01-09 10:15:07 +00:00
parent 8ef8fd7dff
commit b7d6b99d21
7 changed files with 91 additions and 0 deletions

View file

@ -17,3 +17,18 @@ Feature: Using templates
| basic_folder.yaml |
| basic_dayone.yaml |
Scenario Outline: Templated entry should not save if received text is identical to template
Given we use the config "<config_file>"
And we use the password "test" if prompted
When we run "jrnl --config-override template features/templates/basic.template"
And we run "jrnl -1"
Then the output should contain "This text is in the basic template"
Examples: configs
| config_file |
| basic_onefile.yaml |
| basic_encrypted.yaml |
| basic_folder.yaml |
| basic_dayone.yaml |