From 5b2327bd863b763617994c5a299c207da0f9aaaf Mon Sep 17 00:00:00 2001 From: Eshan Ramesh Date: Wed, 27 May 2020 18:17:55 -0400 Subject: [PATCH] add test --- features/core.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/core.feature b/features/core.feature index 057db399..2067edd3 100644 --- a/features/core.feature +++ b/features/core.feature @@ -103,3 +103,9 @@ Feature: Basic reading and writing to a journal 2013-06-10 15:40 Life is good. """ And we should get no error + + Scenario: Journal directory does not exist + Given we use the config "missing_directory.yaml" + When we run "jrnl Life is good" + and we run "jrnl -n 1" + Then the output should contain "Life is good"