Follow up - 7e4b46b65c
- avoid possible spam.
This commit is contained in:
parent
7e4b46b65c
commit
5c6bc72d1b
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ RSpec.describe EmailAddressValidation do
|
|||
describe 'with dot in domain' do
|
||||
|
||||
describe 'with MX record' do
|
||||
let(:email_address) { 'support@zammad.com' }
|
||||
let(:email_address) { 'greetings@example.com' }
|
||||
let(:email_address_validation) { described_class.new(email_address) }
|
||||
|
||||
it 'reports given email address' do
|
||||
|
@ -45,7 +45,7 @@ RSpec.describe EmailAddressValidation do
|
|||
end
|
||||
|
||||
describe 'without dot in domain' do
|
||||
let(:email_address) { 'zammad@localhost' }
|
||||
let(:email_address) { 'greetings@localhost' }
|
||||
let(:email_address_validation) { described_class.new(email_address) }
|
||||
|
||||
it 'reports given email address' do
|
||||
|
@ -85,7 +85,7 @@ RSpec.describe EmailAddressValidation do
|
|||
end
|
||||
|
||||
describe 'with invalid domain format' do
|
||||
let(:email_address) { 'support@zammad..com' }
|
||||
let(:email_address) { 'greetings@example..com' }
|
||||
let(:email_address_validation) { described_class.new(email_address) }
|
||||
|
||||
it 'reports given email address' do
|
||||
|
|
Loading…
Reference in a new issue