From ece057faa57ad0da1dd83c1aaf6df891517aa826 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Mon, 25 Nov 2019 19:39:58 -0800 Subject: [PATCH] [GH-741] adding test for bug that displays all entries -on today --- features/regression.feature | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/features/regression.feature b/features/regression.feature index fb4f0060..bedc1295 100644 --- a/features/regression.feature +++ b/features/regression.feature @@ -62,6 +62,13 @@ Feature: Zapped bugs should stay dead. Then the output should contain "I'm going to activate the machine." Then the output should contain "I've crossed so many timelines. Is there any going back?" + Scenario: Viewing today's entries does not print the entire journal + # https://github.com/jrnl-org/jrnl/issues/741 + Given we use the config "basic.yaml" + When we run "jrnl -on today" + Then the output should not contain "Life is good" + Then the output should not contain "But I'm better." + Scenario: Create entry using day of the week as entry date. Given we use the config "basic.yaml" When we run "jrnl monday: This is an entry on a Monday."