Rename module

HighlightTags was bad because:
- we haven’t called placeholders ‘tags’ for a long time
- it also does resizing of the `<textarea>`, not just highlighting the
  placeholders
This commit is contained in:
Chris Hill-Scott
2019-10-16 15:20:05 +01:00
parent d0ce4d07a3
commit 6c0e853db4
13 changed files with 22 additions and 19 deletions

View File

@@ -346,6 +346,8 @@ def test_should_show_page_for_one_template(
assert "Template &lt;em&gt;content&lt;/em&gt; with &amp; entity" in str(
page.select_one('textarea')
)
assert page.select_one('textarea')['data-module'] == 'enhanced-textbox'
assert page.select_one('textarea')['data-highlight-placeholders'] == 'true'
assert "priority" not in str(page.select_one('main'))
mock_get_service_template.assert_called_with(SERVICE_ONE_ID, template_id, None)