mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
Fix behave keyword "and" to correct case "And"
This commit is contained in:
parent
306e048f19
commit
2920f7f668
1 changed files with 9 additions and 10 deletions
|
@ -4,21 +4,20 @@ Feature: Exporting a Journal
|
||||||
Given we use the config "tags.yaml"
|
Given we use the config "tags.yaml"
|
||||||
When we run "jrnl --export json"
|
When we run "jrnl --export json"
|
||||||
Then we should get no error
|
Then we should get no error
|
||||||
and the output should be parsable as json
|
And the output should be parsable as json
|
||||||
and "entries" in the json output should have 2 elements
|
And "entries" in the json output should have 2 elements
|
||||||
and "tags" in the json output should contain "@idea"
|
And "tags" in the json output should contain "@idea"
|
||||||
and "tags" in the json output should contain "@journal"
|
And "tags" in the json output should contain "@journal"
|
||||||
and "tags" in the json output should contain "@dan"
|
And "tags" in the json output should contain "@dan"
|
||||||
|
|
||||||
Scenario: Exporting using filters should only export parts of the journal
|
Scenario: Exporting using filters should only export parts of the journal
|
||||||
Given we use the config "tags.yaml"
|
Given we use the config "tags.yaml"
|
||||||
When we run "jrnl -until 'may 2013' --export json"
|
When we run "jrnl -until 'may 2013' --export json"
|
||||||
# Then we should get no error
|
|
||||||
Then the output should be parsable as json
|
Then the output should be parsable as json
|
||||||
and "entries" in the json output should have 1 element
|
And "entries" in the json output should have 1 element
|
||||||
and "tags" in the json output should contain "@idea"
|
And "tags" in the json output should contain "@idea"
|
||||||
and "tags" in the json output should contain "@journal"
|
And "tags" in the json output should contain "@journal"
|
||||||
and "tags" in the json output should not contain "@dan"
|
And "tags" in the json output should not contain "@dan"
|
||||||
|
|
||||||
Scenario: Exporting using custom templates
|
Scenario: Exporting using custom templates
|
||||||
Given we use the config "basic.yaml"
|
Given we use the config "basic.yaml"
|
||||||
|
|
Loading…
Add table
Reference in a new issue