mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:39:52 +01:00
typoed_email_validator: add new endings to the typo list
This commit is contained in:
parent
76ded10dab
commit
37b770ddef
2 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ class TypoedEmailValidator < ActiveModel::EachValidator
|
|||
gail.com
|
||||
gamil.com
|
||||
gemail.com
|
||||
gmaik.com
|
||||
gmail.cm
|
||||
gmail.co
|
||||
gmaile.com
|
||||
|
|
|
@ -81,6 +81,7 @@ RSpec.describe User, type: :model do
|
|||
include_examples "invalid email", "fritz.fantom@fmail.com"
|
||||
include_examples "invalid email", "fritz.fantom@gamil.com"
|
||||
include_examples "invalid email", "fritz.fantom@gemail.com"
|
||||
include_examples "invalid email", "fritz.fantom@gmaik.com"
|
||||
include_examples "invalid email", "fritz.fantom@gmail.cm"
|
||||
include_examples "invalid email", "fritz.fantom@gmail.co"
|
||||
include_examples "invalid email", "fritz.fantom@gmailcom"
|
||||
|
|
Loading…
Reference in a new issue