mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Domain has many admin and technical contacts now
This commit is contained in:
parent
22baafab6d
commit
8bff2fb34c
8 changed files with 82 additions and 20 deletions
|
@ -3,9 +3,9 @@ require "rails_helper"
|
|||
describe Domain do
|
||||
it { should belong_to(:registrar) }
|
||||
it { should belong_to(:ns_set) }
|
||||
it { should belong_to(:admin_contact) }
|
||||
it { should belong_to(:owner_contact) }
|
||||
it { should belong_to(:technical_contact) }
|
||||
it { should have_many(:tech_contacts) }
|
||||
it { should have_many(:admin_contacts) }
|
||||
|
||||
it 'validates domain name' do
|
||||
d = Fabricate(:domain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue