mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Story#107821878 - pending_deleted gets new registrant_id too
This commit is contained in:
parent
44ae8fd350
commit
4fa286d0b0
3 changed files with 5 additions and 6 deletions
|
@ -202,7 +202,7 @@ describe DomainMailer do
|
|||
before :all do
|
||||
@registrant = Fabricate(:registrant, email: 'test@example.com')
|
||||
@domain = Fabricate(:domain, registrant: @registrant)
|
||||
@mail = DomainMailer.pending_deleted(@domain.id, deliver_emails)
|
||||
@mail = DomainMailer.pending_deleted(@domain.id, @registrant.id, deliver_emails)
|
||||
end
|
||||
|
||||
it 'should not render email subject' do
|
||||
|
@ -229,7 +229,7 @@ describe DomainMailer do
|
|||
@domain.deliver_emails = true
|
||||
@domain.registrant_verification_token = '123'
|
||||
@domain.registrant_verification_asked_at = Time.zone.now
|
||||
@mail = DomainMailer.pending_deleted(@domain.id, deliver_emails)
|
||||
@mail = DomainMailer.pending_deleted(@domain.id, @registrant.id, deliver_emails)
|
||||
end
|
||||
|
||||
it 'should render email subject' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue