diff --git a/tests/bdd/features/multiple_journals.feature b/tests/bdd/features/multiple_journals.feature index cd531ee2..381463bf 100644 --- a/tests/bdd/features/multiple_journals.feature +++ b/tests/bdd/features/multiple_journals.feature @@ -88,3 +88,9 @@ Feature: Multiple journals these three eyes n Then the output should contain "Encrypted journal 'new_encrypted' created" + + Scenario: Read and write to journal with emoji name + Given we use the config "multiple.yaml" + When we run "jrnl ✨ Adding entry to sparkly journal" + When we run "jrnl ✨ -1" + Then the output should contain "Adding entry to sparkly journal" diff --git a/tests/data/configs/multiple.yaml b/tests/data/configs/multiple.yaml index 1501b383..2bed98b0 100644 --- a/tests/data/configs/multiple.yaml +++ b/tests/data/configs/multiple.yaml @@ -12,6 +12,7 @@ journals: new_encrypted: encrypt: true journal: features/journals/new_encrypted.journal + ✨: features/journals/simple.journal linewrap: 80 tagsymbols: '@' timeformat: '%Y-%m-%d %H:%M'