mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Contact linked test update/refactor #2411
This commit is contained in:
parent
7fa9fb3c6e
commit
a9ba4dbfd2
7 changed files with 16 additions and 10 deletions
|
@ -29,6 +29,7 @@ describe ContactMailer do
|
|||
before :all do
|
||||
@domain = Fabricate(:domain)
|
||||
@contact = @domain.registrant
|
||||
@contact.reload # until figured out why registrant_domains not loaded
|
||||
@contact.deliver_emails = true
|
||||
@contact.email = 'test@example.org' # new email
|
||||
@mail = ContactMailer.email_updated(@contact)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue