mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 00:16:13 +02:00
More test shuffling
- Move more tests around - Rename some test files - Disable one test (markdown-355) Not sure why it's now failing. We should come back to this. - Add more placeholder test scenarios (marked with @todo) You can run just these tests with `behave --no-skipped --tags=todo` - Fix "missing_directory" test This test was missing the config file it was trying to use. So, it was really a very useless, broken test that we absolutely should not have approved the PR (#963) for.
This commit is contained in:
parent
78d362e0db
commit
1d11f3db32
17 changed files with 301 additions and 225 deletions
|
@ -9,3 +9,16 @@ Feature: Reading & writing the config file
|
|||
And one editor argument should be "-c"
|
||||
And one editor argument should match "'?setf markdown'?"
|
||||
|
||||
Scenario: Invalid color configuration
|
||||
Given we use the config "invalid_color.yaml"
|
||||
When we run "jrnl -on 2013-06-10 -s"
|
||||
Then the output should be
|
||||
"""
|
||||
2013-06-10 15:40 Life is good.
|
||||
"""
|
||||
And we should get no error
|
||||
And the error output should contain
|
||||
"""
|
||||
body set to invalid color
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue