Domain mailer spec update

This commit is contained in:
Priit Tark 2015-08-19 01:45:46 +03:00
parent 34f1d7d254
commit 2d1166cd08

View file

@ -122,8 +122,8 @@ describe DomainMailer do
@new_registrant = Fabricate(:registrant, email: 'new@example.org')
@domain = Fabricate(:domain, registrant: @registrant)
@domain.deliver_emails = true
@domain.pending_json[:new_registrant_email] = 'new@example.org'
@domain.pending_json[:new_registrant_name] = 'test name'
@domain.pending_json['new_registrant_email'] = 'new@example.org'
@domain.pending_json['new_registrant_name'] = 'test name'
@mail = DomainMailer.pending_update_rejected_notification_for_new_registrant(@domain)
end