typoed_email_validator: add new endings to the typo list
gmail.co.uk is registered by the big ad company with the 5000 chat apps, but it doesn't have a NX record
This commit is contained in:
parent
aedc0adc2c
commit
0294225269
|
@ -18,6 +18,7 @@ class TypoedEmailValidator < ActiveModel::EachValidator
|
||||||
gmaik.com
|
gmaik.com
|
||||||
gmail.cm
|
gmail.cm
|
||||||
gmail.co
|
gmail.co
|
||||||
|
gmail.co.uk
|
||||||
gmaile.com
|
gmaile.com
|
||||||
gmaill.com
|
gmaill.com
|
||||||
gmali.com
|
gmali.com
|
||||||
|
|
|
@ -84,6 +84,7 @@ RSpec.describe User, type: :model do
|
||||||
include_examples "invalid email", "fritz.fantom@gmaik.com"
|
include_examples "invalid email", "fritz.fantom@gmaik.com"
|
||||||
include_examples "invalid email", "fritz.fantom@gmail.cm"
|
include_examples "invalid email", "fritz.fantom@gmail.cm"
|
||||||
include_examples "invalid email", "fritz.fantom@gmail.co"
|
include_examples "invalid email", "fritz.fantom@gmail.co"
|
||||||
|
include_examples "invalid email", "fritz.fantom@gmail.co.uk"
|
||||||
include_examples "invalid email", "fritz.fantom@gmailcom"
|
include_examples "invalid email", "fritz.fantom@gmailcom"
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue