diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index b58b603f..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 5f245537..00000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/jrnl.iml b/.idea/jrnl.iml deleted file mode 100644 index cb435554..00000000 --- a/.idea/jrnl.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 06275eb2..00000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 07ec31a9..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddf..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/tests/bdd/features/template.feature b/tests/bdd/features/template.feature index 88c0edab..2806fbe1 100644 --- a/tests/bdd/features/template.feature +++ b/tests/bdd/features/template.feature @@ -17,12 +17,11 @@ Feature: Using templates | basic_folder.yaml | | basic_dayone.yaml | - Scenario Outline: Templated entry should not save if received text is identical to template + Scenario Outline: Templated entry should not be saved if template is unchanged Given we use the config "" And we use the password "test" if prompted When we run "jrnl --config-override template features/templates/basic.template" - And we run "jrnl -1" - Then the output should contain "This text is in the basic template" + Then the output should contain "No entry to save, because the template was not changed" Examples: configs | config_file | @@ -31,4 +30,3 @@ Feature: Using templates | basic_folder.yaml | | basic_dayone.yaml | -