Fixing tests broken by bad revert

This commit is contained in:
Martyn Inglis
2016-03-18 11:46:17 +00:00
parent a1203d75ea
commit b8db00d4d9

View File

@@ -23,6 +23,7 @@ def test_should_render_email_verification_resent_show_email_address_and_resend_v
assert page.h1.string == 'Check your email' assert page.h1.string == 'Check your email'
expected = "In order to verify your email address we've sent a new confirmation link to {}".format(api_user_active.email_address) # noqa expected = "In order to verify your email address we've sent a new confirmation link to {}".format(api_user_active.email_address) # noqa
message = page.find_all('p')[1].text message = page.find_all('p')[1].text
assert message == expected assert message == expected
mock_send_verify_email.assert_called_with(api_user_active.id, api_user_active.email_address) mock_send_verify_email.assert_called_with(api_user_active.id, api_user_active.email_address)