mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
107821878-refactoring
This commit is contained in:
parent
90ad9ff887
commit
99a66259f0
9 changed files with 46 additions and 46 deletions
|
@ -8,7 +8,7 @@ describe ContactMailer do
|
|||
describe 'email changed notification when delivery turned off' do
|
||||
before :all do
|
||||
@contact = Fabricate(:contact, email: 'test@example.ee')
|
||||
@mail = ContactMailer.email_updated('test@example.com', @contact.id)
|
||||
@mail = ContactMailer.email_updated('test@example.com', @contact.id, deliver_emails)
|
||||
end
|
||||
|
||||
it 'should not render email subject' do
|
||||
|
@ -34,7 +34,7 @@ describe ContactMailer do
|
|||
@contact = @domain.registrant
|
||||
@contact.reload # until figured out why registrant_domains not loaded
|
||||
@contact.deliver_emails = true
|
||||
@mail = ContactMailer.email_updated('info@example.org', @contact.id)
|
||||
@mail = ContactMailer.email_updated('info@example.org', @contact.id, deliver_emails)
|
||||
end
|
||||
|
||||
it 'should render email subject' do
|
||||
|
@ -60,7 +60,7 @@ describe ContactMailer do
|
|||
@contact = @domain.registrant
|
||||
@contact.reload # until figured out why registrant_domains not loaded
|
||||
@contact.deliver_emails = true
|
||||
@mail = ContactMailer.email_updated('info@ääöü.org', @contact.id)
|
||||
@mail = ContactMailer.email_updated('info@ääöü.org', @contact.id, deliver_emails)
|
||||
end
|
||||
|
||||
it 'should render email subject' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue