mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 16:26:13 +02:00
standardize behave tests
This commit is contained in:
parent
6b73eb786e
commit
131477c7e3
15 changed files with 291 additions and 309 deletions
|
@ -4,17 +4,12 @@ Feature: Starring entries
|
|||
Given we use the config "basic.yaml"
|
||||
When we run "jrnl 20 july 2013 *: Best day of my life!"
|
||||
Then we should see the message "Entry added"
|
||||
and the journal should contain "[2013-07-20 09:00] Best day of my life! *"
|
||||
And the journal should contain "[2013-07-20 09:00] Best day of my life! *"
|
||||
|
||||
Scenario: Filtering by starred entries
|
||||
Given we use the config "basic.yaml"
|
||||
When we run "jrnl -starred"
|
||||
Then the output should be
|
||||
"""
|
||||
"""
|
||||
Then the output should be empty
|
||||
When we run "jrnl 20 july 2013 *: Best day of my life!"
|
||||
When we run "jrnl -starred"
|
||||
Then the output should be
|
||||
"""
|
||||
2013-07-20 09:00 Best day of my life!
|
||||
"""
|
||||
Then the output should be "2013-07-20 09:00 Best day of my life!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue