mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
7 lines
161 B
Ruby
7 lines
161 B
Ruby
Fabricator(:domain_contact) do
|
|
contact { Fabricate(:contact) }
|
|
contact_type 'admin'
|
|
after_build do |x|
|
|
x.contact_code_cache = x.contact.code
|
|
end
|
|
end
|