mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
14 lines
346 B
Ruby
14 lines
346 B
Ruby
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 'creates a resource' do
|
|
d = Fabricate(:domain)
|
|
expect(d.name).to_not be_nil
|
|
end
|
|
end
|