From 2ff81ea59d59119c03b8e83fc00c4f6a6c816f1e Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 30 Aug 2018 14:36:40 +0100 Subject: [PATCH] Reword templates line on go live task list This version might read a little clearer and look a little neater. --- .../views/service-settings/request-to-go-live.html | 4 ++-- tests/app/main/views/test_service_settings.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/templates/views/service-settings/request-to-go-live.html b/app/templates/views/service-settings/request-to-go-live.html index f80287c1a..28cf3c503 100644 --- a/app/templates/views/service-settings/request-to-go-live.html +++ b/app/templates/views/service-settings/request-to-go-live.html @@ -24,8 +24,8 @@ ) }} {{ task_list_item( has_templates, - 'Add content to -templates to show the kind of messages you’ll send'.format( + 'Add templates with examples of the content you plan to send +'.format( url_for('main.choose_template', service_id=current_service.id) )|safe, ) }} diff --git a/tests/app/main/views/test_service_settings.py b/tests/app/main/views/test_service_settings.py index dd539d949..47989d873 100644 --- a/tests/app/main/views/test_service_settings.py +++ b/tests/app/main/views/test_service_settings.py @@ -509,9 +509,9 @@ def test_should_raise_duplicate_name_handled( (2, 'Add a team member who can manage settings, team and usage Completed'), ]) @pytest.mark.parametrize('count_of_templates, expected_templates_checklist_item', [ - (0, 'Add content to templates to show the kind of messages you’ll send Not completed'), - (1, 'Add content to templates to show the kind of messages you’ll send Completed'), - (2, 'Add content to templates to show the kind of messages you’ll send Completed'), + (0, 'Add templates with examples of the content you plan to send Not completed'), + (1, 'Add templates with examples of the content you plan to send Completed'), + (2, 'Add templates with examples of the content you plan to send Completed'), ]) @pytest.mark.parametrize('count_of_email_templates, reply_to_email_addresses, expected_reply_to_checklist_item', [ pytest.mark.xfail((0, [], ''), raises=IndexError),