-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64fb5c6
commit f8fcf0e
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,13 @@ def test_should_remove_old_record_if_multiple_contacts_has_the_same_email | |
assert_equal contact_two.validation_events.count, 3 | ||
end | ||
|
||
def test_should_test_email_with_punnycode | ||
email = "[email protected]" | ||
result = Actions::SimpleMailValidator.run(email: email, level: :mx) | ||
|
||
assert result | ||
end | ||
|
||
private | ||
|
||
def trumail_result | ||
|