fix non-gsm error message

Use `it`/`they` depending on how many different characters you've used
Also don't wrap the message with quotes, as it looks confusing and
potentialy implies that you can't use apostrophes
This commit is contained in:
Leo Hemsted
2017-02-15 16:21:14 +00:00
parent 9046ec3bbc
commit f550699daf
3 changed files with 24 additions and 10 deletions

View File

@@ -670,7 +670,7 @@ def test_should_not_create_sms_template_with_emoji(
), data=data)
assert resp.status_code == 200
assert "You cant use ‘🍜’ in text messages." in resp.get_data(as_text=True)
assert "You cant use 🍜 in text messages." in resp.get_data(as_text=True)
def test_should_not_update_sms_template_with_emoji(
@@ -694,7 +694,7 @@ def test_should_not_update_sms_template_with_emoji(
template_id=fake_uuid), data=data)
assert resp.status_code == 200
assert "You cant use ‘🍔’ in text messages." in resp.get_data(as_text=True)
assert "You cant use 🍔 in text messages." in resp.get_data(as_text=True)
def test_should_create_sms_template_without_downgrading_unicode_characters(