Attach nameservers directly to domain

This commit is contained in:
Martin Lensment 2014-07-31 11:21:22 +03:00
parent 7a9988236e
commit 4396ec665c
6 changed files with 19 additions and 5 deletions

View file

@ -2,7 +2,7 @@ require "rails_helper"
describe Domain do
it { should belong_to(:registrar) }
it { should belong_to(:ns_set) }
it { should have_and_belong_to_many(:nameservers)}
it { should belong_to(:owner_contact) }
it { should have_many(:tech_contacts) }
it { should have_many(:admin_contacts) }