mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
Address depricated, new contact requires, domain_contacts refactor
This commit is contained in:
parent
0e252b0b6b
commit
5fd73b037a
38 changed files with 402 additions and 501 deletions
6
spec/fabricators/tech_domain_contact_fabricator.rb
Normal file
6
spec/fabricators/tech_domain_contact_fabricator.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
Fabricator(:tech_domain_contact) do
|
||||
contact { Fabricate(:contact) }
|
||||
after_build do |x|
|
||||
x.contact_code_cache = x.contact.code
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue