Allow custom file extensions for directory journal

This commit is contained in:
Thibaud Chupin 2024-03-23 19:50:41 +01:00
parent c8c49b1ba2
commit 6b742fd412
6 changed files with 43 additions and 11 deletions

View file

@ -10,6 +10,13 @@ Feature: Journals iteracting with the file system in a way that users can see
And the journal directory should contain
2013/07/23.txt
Scenario: Adding entries to a Folder journal with a custom extension should generate date files
Given we use the config "empty_folder_with_extension.yaml"
When we run "jrnl 23 July 2013: Testing folder journal."
Then we should get no error
And the journal directory should contain
2013/07/23.md
Scenario: Adding multiple entries to a Folder journal should generate multiple date files
Given we use the config "empty_folder.yaml"
When we run "jrnl 23 July 2013: Testing folder journal."