mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Split tests
This commit is contained in:
parent
a212e86503
commit
22ae53407e
1 changed files with 5 additions and 5 deletions
|
@ -48,13 +48,13 @@ Feature: Basic reading and writing to a journal
|
|||
Then we should get no error
|
||||
Then the output should contain "version"
|
||||
|
||||
# The quotes around the date in the second run are intentional. Without
|
||||
# them, the behave will fail because it finds duplicate output. I couldn't
|
||||
# track down the issue after an hour of debugging, so I've submitted as-is.
|
||||
Scenario: --short and -s display the short version of entries (only the title)
|
||||
Scenario: --short displays the short version of entries (only the title)
|
||||
Given we use the config "basic.yaml"
|
||||
When we run "jrnl -on 2013-06-10 --short"
|
||||
Then the output should be "2013-06-10 15:40 Life is good."
|
||||
When we run "jrnl -on '2013-06-10' -s"
|
||||
|
||||
Scenario: -s displays the short version of entries (only the title)
|
||||
Given we use the config "basic.yaml"
|
||||
When we run "jrnl -on 2013-06-10 -s"
|
||||
Then the output should be "2013-06-10 15:40 Life is good."
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue