mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Fix test?
This commit is contained in:
parent
4cfff00d0a
commit
c23efa7f80
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ Feature: Basic reading and writing to a journal
|
|||
# Note that the expected output is actually "[Nothing saved to file]" but due to mocking limitations, we expect no output here.
|
||||
Scenario: Writing an empty entry from the editor
|
||||
Given we use the config "editor.yaml"
|
||||
When we open the editor and enter ""
|
||||
When we open the editor and enter nothing
|
||||
Then we should see the message "[Nothing saved to file]"
|
||||
|
||||
Scenario: Filtering for dates
|
||||
|
|
|
@ -67,7 +67,7 @@ def set_config(context, config_file):
|
|||
cf.write("version: {}".format(__version__))
|
||||
|
||||
|
||||
@when('we open the editor and enter')
|
||||
@when('we open the editor and enter nothing')
|
||||
@when('we open the editor and enter "{text}"')
|
||||
def open_editor_and_enter(context, text=""):
|
||||
text = (text or context.text)
|
||||
|
|
Loading…
Add table
Reference in a new issue