mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Added domain confirmation verification url
This commit is contained in:
parent
8b392fcc56
commit
6821afff65
8 changed files with 33 additions and 7 deletions
|
@ -31,10 +31,7 @@ describe DomainMailer do
|
|||
@new_registrant = Fabricate(:registrant, email: 'test@example.org')
|
||||
@domain = Fabricate(:domain, registrant: @registrant)
|
||||
@domain.deliver_emails = true
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
@domain.registrant_verification_token = '123'
|
||||
>>>>>>> 0ddd2b6f32fa7e9abec8b2e7c88173585a78f3dd
|
||||
@domain.registrant = @new_registrant
|
||||
@mail = DomainMailer.registrant_updated(@domain)
|
||||
end
|
||||
|
@ -54,5 +51,9 @@ describe DomainMailer do
|
|||
it 'should render body' do
|
||||
@mail.body.encoded.should =~ /Registrisse laekus taotlus domeeni/
|
||||
end
|
||||
|
||||
it 'should render verification url' do
|
||||
@mail.body.encoded.should =~ /registrant\/domain_update_confirms/
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue