Describe the bug
When letting faker generate email addresses based on names, it now generates invalid email addresses, where older versions did not.
Example:
# Faker 3.4.1
Faker::Internet.unique.email(name: " Msgr. Titus Harvey")
# => "[email protected]"
The email is invalid as two sequential dots appear.
# Faker 3.3.1
Faker::Internet.unique.email(name: " Msgr. Titus Harvey")
# => "[email protected]"
To Reproduce
See code samples above
Expected behavior
Factory should keep generating valid email addresses, as a major escape is to populate databases with valid looking data.
Additional context
None