Attach nameservers directly to domain

This commit is contained in:
Martin Lensment 2014-09-11 13:34:55 +03:00
parent 98c2717539
commit eb8de6479e
8 changed files with 22 additions and 36 deletions

View file

@ -1,5 +1,5 @@
require 'rails_helper'
describe Nameserver do
it { should have_and_belong_to_many(:domains) }
it { should belong_to(:domain) }
end