Rename 'email-branding-preview' CSS styles to 'branding-preview'

Renamed since the same styling will be used for previewing letters.
This commit is contained in:
Katie Smith
2019-02-13 08:40:52 +00:00
parent 8986e1db32
commit 83c10149bd
5 changed files with 6 additions and 6 deletions

View File

@@ -2276,7 +2276,7 @@ def test_should_preview_email_branding(
))
assert response.status_code == 200
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
iframe = page.find('iframe', attrs={"class": "email-branding-preview"})
iframe = page.find('iframe', attrs={"class": "branding-preview"})
iframeURLComponents = urlparse(iframe['src'])
iframeQString = parse_qs(iframeURLComponents.query)