Contact linked test update/refactor #2411

This commit is contained in:
Priit Tark 2015-07-27 15:59:23 +03:00
parent 7fa9fb3c6e
commit a9ba4dbfd2
7 changed files with 16 additions and 10 deletions

View file

@ -3,7 +3,7 @@ Fabricator(:domain) do
valid_to Date.new(2014, 8, 7)
period 1
period_unit 'y'
registrant(fabricator: :registrant)
registrant { Fabricate(:registrant) }
nameservers(count: 3)
admin_domain_contacts(count: 1) { Fabricate(:admin_domain_contact) }
tech_domain_contacts(count: 1) { Fabricate(:tech_domain_contact) }