mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-27 21:16:14 +02:00
Suppress "Entry added" message if using default journal (#1561)
* Suppress "Entry added to default journal" message if using default journal * Replace "Entry added" BDD test steps with "we should get no error" now that the message is suppressed * Add positive and negative tests for "Entry added" message behavior
This commit is contained in:
parent
bb6491bd06
commit
f65f07dbcb
7 changed files with 57 additions and 35 deletions
|
@ -6,7 +6,7 @@ Feature: Journals iteracting with the file system in a way that users can see
|
|||
Scenario: Adding entries to a Folder journal should generate date files
|
||||
Given we use the config "empty_folder.yaml"
|
||||
When we run "jrnl 23 July 2013: Testing folder journal."
|
||||
Then the output should contain "Entry added"
|
||||
Then we should get no error
|
||||
And the journal directory should contain
|
||||
2013/07/23.txt
|
||||
|
||||
|
@ -14,7 +14,7 @@ Feature: Journals iteracting with the file system in a way that users can see
|
|||
Given we use the config "empty_folder.yaml"
|
||||
When we run "jrnl 23 July 2013: Testing folder journal."
|
||||
And we run "jrnl 3/7/2014: Second entry of journal."
|
||||
Then the output should contain "Entry added"
|
||||
Then we should get no error
|
||||
And the journal directory should contain
|
||||
2013/07/23.txt
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue