standardize behave tests

This commit is contained in:
Jonathan Wren 2020-07-06 23:08:30 -07:00
parent 6b73eb786e
commit 131477c7e3
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
15 changed files with 291 additions and 309 deletions

View file

@ -4,7 +4,7 @@ Feature: Contains
Given we use the config "basic.yaml"
When we run "jrnl -contains life"
Then we should get no error
and the output should be
And the output should be
"""
2013-06-10 15:40 Life is good.
| But I'm better.
@ -20,10 +20,10 @@ Feature: Contains
Given we use the config "tags.yaml"
When we run "jrnl -and @journal @idea -contains software"
Then we should get no error
and the output should contain "software"
And the output should contain "software"
Scenario: Searching for a string within NOT tag results
Given we use the config "tags.yaml"
When we run "jrnl -not @dan -contains software"
Then we should get no error
and the output should contain "software"
And the output should contain "software"