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

@ -149,7 +149,7 @@ Feature: Zapped bugs should stay dead.
Scenario: Add a blank line to YAML export is there isn't one already
Given we use the config "deletion.yaml"
And we created a directory named "bug768"
When we run "jrnl --export yaml -o bug768"
When we run "jrnl --export yaml -o features/cache/bug768"
Then "bug768" should contain the files ["2019-10-29_first-entry.md", "2019-10-29_second-entry.md", "2019-10-29_third-entry.md"]
And the content of exported yaml "bug768/2019-10-29_third-entry.md" should be
"""