mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 16:26:13 +02:00
Create tests and steps for temporary filename suffix
This commit is contained in:
parent
31ada29a37
commit
4bbd2fe53b
4 changed files with 37 additions and 0 deletions
|
@ -44,3 +44,13 @@ Feature: Journals iteracting with the file system in a way that users can see
|
|||
And we change directory to "features"
|
||||
And we run "jrnl -n 1"
|
||||
Then the output should contain "hello world"
|
||||
|
||||
Scenario: the temporary filename suffix should default to ".jrnl"
|
||||
Given we use the config "editor.yaml"
|
||||
When we run "jrnl --edit"
|
||||
Then the temporary filename suffix should be ".jrnl"
|
||||
|
||||
Scenario: the temporary filename suffix should be "-{template_filename}"
|
||||
Given we use the config "editor_markdown_extension.yaml"
|
||||
When we run "jrnl --edit"
|
||||
Then the temporary filename suffix should be "-extension.md"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue