mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 16:26:13 +02:00
rename files, add some basic journals for each journal type
This commit is contained in:
parent
66b9f5a461
commit
69c0f5e0a3
24 changed files with 330 additions and 85 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue