typoed_email_validator: add new endings to the typo list
This commit is contained in:
parent
a6dcf4c3cf
commit
4e150945e5
|
@ -22,6 +22,7 @@ class TypoedEmailValidator < ActiveModel::EachValidator
|
||||||
gmali.com
|
gmali.com
|
||||||
gmaul.com
|
gmaul.com
|
||||||
gnail.com
|
gnail.com
|
||||||
|
hornail.com
|
||||||
hotamil.com
|
hotamil.com
|
||||||
hotmai.com
|
hotmai.com
|
||||||
hotmaill.com
|
hotmaill.com
|
||||||
|
|
|
@ -130,6 +130,7 @@ RSpec.describe User, type: :model do
|
||||||
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@gmaul.com"
|
||||||
include_examples "invalid email", "fritz.fantom@gnail.com"
|
include_examples "invalid email", "fritz.fantom@gnail.com"
|
||||||
|
include_examples "invalid email", "fritz.fantom@hornail.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"
|
||||||
include_examples "invalid email", "fritz.fantom@hotmailcom"
|
include_examples "invalid email", "fritz.fantom@hotmailcom"
|
||||||
|
|
Loading…
Reference in New Issue