Merge pull request #1179 from Retrospring/post@junibox.org
typoed_email_validator: add new endings to the typo list
This commit is contained in:
commit
3ef1bf173a
|
@ -29,6 +29,7 @@ class TypoedEmailValidator < ActiveModel::EachValidator
|
|||
iclooud.com
|
||||
iclould.com
|
||||
icluod.com
|
||||
maibox.org
|
||||
protonail.com
|
||||
xn--gmail-xk1c.com
|
||||
yahooo.com
|
||||
|
|
|
@ -138,6 +138,7 @@ RSpec.describe User, type: :model do
|
|||
include_examples "invalid email", "fritz.fantom@iclooud.com"
|
||||
include_examples "invalid email", "fritz.fantom@iclould.com"
|
||||
include_examples "invalid email", "fritz.fantom@icluod.com"
|
||||
include_examples "invalid email", "fritz.fantom@maibox.org"
|
||||
include_examples "invalid email", "fritz.fantom@protonail.com"
|
||||
include_examples "invalid email", "fritz.fantom@xn--gmail-xk1c.com"
|
||||
include_examples "invalid email", "fritz.fantom@yahooo.com"
|
||||
|
|
Loading…
Reference in New Issue