mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:29:52 +01:00
typoed_email_validator: add new endings to the typo list
This commit is contained in:
parent
16c8e35de9
commit
2dfbc1dd3c
2 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ class TypoedEmailValidator < ActiveModel::EachValidator
|
|||
iclooud.com
|
||||
iclould.com
|
||||
icluod.com
|
||||
protonail.com
|
||||
xn--gmail-xk1c.com
|
||||
yahooo.com
|
||||
☺gmail.com
|
||||
|
|
|
@ -96,6 +96,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@protonail.com"
|
||||
include_examples "invalid email", "fritz.fantom@xn--gmail-xk1c.com"
|
||||
include_examples "invalid email", "fritz.fantom@yahooo.com"
|
||||
include_examples "invalid email", "fritz.fantom@☺gmail.com"
|
||||
|
|
Loading…
Reference in a new issue