mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 08:26:12 +02:00
add test
This commit is contained in:
parent
6aa522cb2c
commit
6e0ecac0dd
2 changed files with 21 additions and 0 deletions
|
@ -113,3 +113,14 @@ Feature: Basic reading and writing to a journal
|
|||
2013-06-10 15:40 Life is good.
|
||||
"""
|
||||
And we should get no error
|
||||
|
||||
Scenario: Install with relative path and view from another directory
|
||||
Given there is no config
|
||||
When we run "jrnl hello world" and enter
|
||||
"""
|
||||
test.txt
|
||||
n \n
|
||||
"""
|
||||
and we move a directory up
|
||||
and we run "jrnl -n 1"
|
||||
Then the output should contain "hello world"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue