Merge pull request #1016 from Retrospring/gusch@maul.jetzt
typoed_email_validator: add new endings to the typo list
This commit is contained in:
commit
d4a1e7de28
|
@ -19,6 +19,7 @@ class TypoedEmailValidator < ActiveModel::EachValidator
|
||||||
gmaile.com
|
gmaile.com
|
||||||
gmaill.com
|
gmaill.com
|
||||||
gmali.com
|
gmali.com
|
||||||
|
gmaul.com
|
||||||
gnail.com
|
gnail.com
|
||||||
hotamil.com
|
hotamil.com
|
||||||
hotmai.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@gmaile.com"
|
||||||
include_examples "invalid email", "fritz.fantom@gmaill.com"
|
include_examples "invalid email", "fritz.fantom@gmaill.com"
|
||||||
include_examples "invalid email", "fritz.fantom@gmali.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@gnail.com"
|
||||||
include_examples "invalid email", "fritz.fantom@hotamil.com"
|
include_examples "invalid email", "fritz.fantom@hotamil.com"
|
||||||
include_examples "invalid email", "fritz.fantom@hotmai.com"
|
include_examples "invalid email", "fritz.fantom@hotmai.com"
|
||||||
|
|
Loading…
Reference in New Issue