mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Handle OK status automatically
This commit is contained in:
parent
8892a25947
commit
77510cc3fa
5 changed files with 19 additions and 10 deletions
|
@ -2,7 +2,7 @@ require 'rails_helper'
|
|||
|
||||
describe Domain do
|
||||
it { should belong_to(:registrar) }
|
||||
it { should have_and_belong_to_many(:nameservers) }
|
||||
it { should have_many(:nameservers) }
|
||||
it { should belong_to(:owner_contact) }
|
||||
it { should have_many(:tech_contacts) }
|
||||
it { should have_many(:admin_contacts) }
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
describe NsSet do
|
||||
it { should belong_to(:registrar) }
|
||||
it { should have_and_belong_to_many(:nameservers) }
|
||||
end
|
|
@ -3,7 +3,6 @@ require 'rails_helper'
|
|||
describe Registrar do
|
||||
it { should belong_to(:country) }
|
||||
it { should have_many(:domains) }
|
||||
it { should have_many(:ns_sets) }
|
||||
it { should have_many(:epp_users) }
|
||||
it { should have_many(:users) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue