mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
typoed_email_validator: add new endings to the typo list
This commit is contained in:
parent
7c1057acb3
commit
a59bc3ef92
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ class TypoedEmailValidator < ActiveModel::EachValidator
|
|||
gmaile.com
|
||||
gmaill.com
|
||||
gmali.com
|
||||
gmaul.com
|
||||
gnail.com
|
||||
hotamil.com
|
||||
hotmai.com
|
||||
|
|
|
@ -93,6 +93,7 @@ RSpec.describe User, type: :model do
|
|||
include_examples "invalid email", "fritz.fantom@gmaile.com"
|
||||
include_examples "invalid email", "fritz.fantom@gmaill.com"
|
||||
include_examples "invalid email", "fritz.fantom@gmali.com"
|
||||
include_examples "invalid email", "fritz.fantom@gmaul.com"
|
||||
include_examples "invalid email", "fritz.fantom@gnail.com"
|
||||
include_examples "invalid email", "fritz.fantom@hotamil.com"
|
||||
include_examples "invalid email", "fritz.fantom@hotmai.com"
|
||||
|
|
Loading…
Reference in a new issue