[GH-741] adding test for bug that displays all entries -on today

This commit is contained in:
Micah Jerome Ellison 2019-11-25 19:39:58 -08:00
parent 10d8a32b64
commit ece057faa5

View file

@ -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'm going to activate the machine."
Then the output should contain "I've crossed so many timelines. Is there any going back?" 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. Scenario: Create entry using day of the week as entry date.
Given we use the config "basic.yaml" Given we use the config "basic.yaml"
When we run "jrnl monday: This is an entry on a Monday." When we run "jrnl monday: This is an entry on a Monday."