From b2a60fd297e620f441d76bbce8e6f38c51f491db Mon Sep 17 00:00:00 2001 From: Suhas Date: Wed, 27 Jan 2021 18:14:00 -0500 Subject: [PATCH] test different editor launch commands --- features/overrides.feature | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/features/overrides.feature b/features/overrides.feature index 3ad42b60..1f8b3036 100644 --- a/features/overrides.feature +++ b/features/overrides.feature @@ -48,3 +48,12 @@ Given we use the config "tiny.yaml" When we run jrnl with -1 --config-override colors.body:green,editor:"nano" Then the runtime config should have colors.body set to green And the runtime config should have editor set to nano + Scenario Outline: Override configured editor + Given we use the config "tiny.yaml" + When we run jrnl with --config-override editor:"" + Then the editor should have been called + Examples: Editor Commands + | editor | + | nano | + | vi -c startinsert | + | code -w - |