mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Create journal with absolute path when no path is specified (#972)
* create jrnl with abspath Co-authored-by: = <esrh@netc.eu>
This commit is contained in:
parent
d9951b54c0
commit
2a3fd820b9
4 changed files with 21 additions and 2 deletions
|
@ -119,3 +119,14 @@ Feature: Basic reading and writing to a journal
|
|||
When we run "jrnl Life is good"
|
||||
and we run "jrnl -n 1"
|
||||
Then the output should contain "Life is good"
|
||||
|
||||
Scenario: Installation with relative journal and referencing from another folder
|
||||
Given we use the config "missingconfig"
|
||||
When we run "jrnl hello world" and enter
|
||||
"""
|
||||
test.txt
|
||||
n
|
||||
"""
|
||||
and we change directory to "features"
|
||||
and we run "jrnl -n 1"
|
||||
Then the output should contain "hello world"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue