Updated domain registrant updater mailer spec

This commit is contained in:
Priit Tark 2015-05-14 15:32:27 +03:00
parent ab6f59c09e
commit 99eeeae89f
3 changed files with 7 additions and 5 deletions

View file

@ -31,6 +31,7 @@ describe DomainMailer do
@new_registrant = Fabricate(:registrant, email: 'test@example.org')
@domain = Fabricate(:domain, registrant: @registrant)
@domain.deliver_emails = true
@domain.registrant_verification_token = '123'
@domain.registrant = @new_registrant
@mail = DomainMailer.registrant_updated(@domain)
end