mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 15:16:12 +02:00
Test for the creation of all the expected files
The test previously only tested that one of the expected files was created.
This commit is contained in:
parent
6b742fd412
commit
8d9c27ffd6
1 changed files with 2 additions and 1 deletions
|
@ -20,10 +20,11 @@ Feature: Journals iteracting with the file system in a way that users can see
|
|||
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."
|
||||
And we run "jrnl 3/7/2014: Second entry of journal."
|
||||
And we run "jrnl 5/3/2014: Second entry of journal."
|
||||
Then we should get no error
|
||||
And the journal directory should contain
|
||||
2013/07/23.txt
|
||||
2014/05/03.txt
|
||||
|
||||
Scenario: If the journal and its parent directory don't exist, they should be created
|
||||
Given we use the config "missing_directory.yaml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue