rename files, add some basic journals for each journal type

This commit is contained in:
Jonathan Wren 2020-09-24 19:50:56 -07:00
parent 66b9f5a461
commit 69c0f5e0a3
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
24 changed files with 330 additions and 85 deletions

View file

@ -1,14 +1,14 @@
Feature: Importing data
Scenario: --import allows new entry from stdin
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
When we run "jrnl --import" and pipe "[2020-07-05 15:00] Observe and import."
And we run "jrnl -1"
Then the journal should contain "[2020-07-05 15:00] Observe and import."
And the output should contain "Observe and import"
Scenario: --import allows new large entry from stdin
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
When we run "jrnl --import" and pipe
"""
[2020-07-05 15:00] Observe and import.
@ -26,7 +26,7 @@ Feature: Importing data
And the output should contain "end of entry."
Scenario: --import allows multiple new entries from stdin
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
When we run "jrnl --import" and pipe
"""
[2020-07-05 15:00] Observe and import.
@ -39,7 +39,7 @@ Feature: Importing data
Then the journal should contain "[2020-07-05 15:01] Twice as nice."
Scenario: --import allows import new entries from file
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
Then the journal should contain "My first entry."
And the journal should contain "Life is good."
But the journal should not contain "I have an @idea"
@ -50,7 +50,7 @@ Feature: Importing data
And the journal should contain "PROFIT!"
Scenario: --import prioritizes --file over pipe data if both are given
Given we use the config "basic.yaml"
Given we use the config "simple.yaml"
Then the journal should contain "My first entry."
And the journal should contain "Life is good."
But the journal should not contain "I have an @idea"