mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Attach nameservers with attributes
This commit is contained in:
parent
356835bebf
commit
d46640713b
6 changed files with 79 additions and 3 deletions
|
@ -84,6 +84,14 @@ describe 'EPP Domain', epp: true do
|
|||
expect(response[:result_code]).to eq('2005')
|
||||
expect(response[:msg]).to eq('Hostname is invalid')
|
||||
end
|
||||
|
||||
|
||||
it 'creates domain with nameservers with ips' do
|
||||
response = epp_request('domains/create_w_host_attrs.xml')
|
||||
expect(Domain.first.nameservers.count).to eq(2)
|
||||
ns = Domain.first.nameservers.first
|
||||
expect(ns.ip).to eq('192.0.2.2')
|
||||
end
|
||||
end
|
||||
|
||||
context 'with juridical persion as an owner' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue