clean up extra directories after running behave

This commit is contained in:
Jonathan Wren 2020-05-06 14:15:22 -07:00
parent 065f38cfe4
commit 4e09c75ff7
4 changed files with 12 additions and 9 deletions

View file

@ -123,7 +123,7 @@ Feature: Exporting a Journal
Scenario: Export to yaml
Given we use the config "tags.yaml"
And we created a directory named "exported_journal"
When we run "jrnl --export yaml -o exported_journal"
When we run "jrnl --export yaml -o features/cache/exported_journal"
Then "exported_journal" should contain the files ["2013-04-09_i-have-an-idea.md", "2013-06-10_i-met-with-dan.md"]
And the content of exported yaml "exported_journal/2013-04-09_i-have-an-idea.md" should be
"""