mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-04 23:46:14 +02:00
merge config override step with existing config_var step in core
delete config_override step unify step description syntax
This commit is contained in:
parent
ca8e9f85e4
commit
0b79128023
3 changed files with 63 additions and 37 deletions
|
@ -41,15 +41,15 @@ Feature: Implementing Runtime Overrides for Select Configuration Keys
|
|||
Given we use the config "basic_encrypted.yaml"
|
||||
And we use the password "test" if prompted
|
||||
When we run "jrnl -1 --config-override colors.body blue"
|
||||
Then the runtime config should have colors.body set to blue
|
||||
Then the config should have "colors.body" set to "blue"
|
||||
|
||||
@skip_win
|
||||
Scenario: Apply multiple config overrides
|
||||
Given we use the config "basic_encrypted.yaml"
|
||||
And we use the password "test" if prompted
|
||||
When we run "jrnl -1 --config-override colors.body green --config-override editor 'nano'"
|
||||
Then the runtime config should have colors.body set to green
|
||||
And the runtime config should have editor set to nano
|
||||
Then the config should have "colors.body" set to "green"
|
||||
And the config should have "editor" set to "nano"
|
||||
|
||||
|
||||
@skip_win
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue