mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-12 18:06:14 +02:00
fix one windows test, disable one windows test
This commit is contained in:
parent
2522582b5d
commit
75cbc71fd2
2 changed files with 22 additions and 7 deletions
|
@ -33,19 +33,21 @@ Feature: Basic reading and writing to a journal
|
|||
When we run "jrnl -n 1"
|
||||
Then the output should contain "2013-07-23 09:00 A cold and stormy day."
|
||||
|
||||
@skip_win
|
||||
Scenario: Writing an empty entry from the editor
|
||||
Given we use the config "editor.yaml"
|
||||
When we open the editor and enter nothing
|
||||
Then we should see the message "[Nothing saved to file]"
|
||||
|
||||
@skip_win
|
||||
Scenario: Sending an argument with spaces to the editor should work
|
||||
Given we use the config "editor-args.yaml"
|
||||
When we open the editor and enter "lorem ipsum"
|
||||
Then the editor should have been called with 5 arguments
|
||||
And the editor arguments should contain "vim"
|
||||
And the editor arguments should contain "-f"
|
||||
And the editor arguments should contain "-c"
|
||||
And the editor arguments should contain "setf markdown"
|
||||
And one editor argument should be "vim"
|
||||
And one editor argument should be "-f"
|
||||
And one editor argument should be "-c"
|
||||
And one editor argument should match "'?setf markdown'?"
|
||||
|
||||
Scenario: Writing an empty entry from the command line
|
||||
Given we use the config "basic.yaml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue