Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegPhenomenon committed Aug 22, 2023
1 parent 64fb5c6 commit f8fcf0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/interactions/email_check_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8fcf0e

Please sign in to comment.