mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Better naming and domain updating
This commit is contained in:
parent
fe54f327d9
commit
8b8a71c4d1
6 changed files with 50 additions and 22 deletions
|
@ -309,7 +309,19 @@ describe 'EPP Domain', epp: true do
|
|||
expect(response[:results][2][:result_code]).to eq('2303')
|
||||
expect(response[:results][2][:msg]).to eq('Status was not found')
|
||||
expect(response[:results][2][:value]).to eq('clientHold')
|
||||
end
|
||||
|
||||
it 'updates a domain' do
|
||||
Fabricate(:contact, code: 'mak21')
|
||||
epp_request('domains/update_add_objects.xml')
|
||||
response = epp_request('domains/update.xml')
|
||||
|
||||
expect(response[:results][0][:result_code]).to eq('1000')
|
||||
|
||||
d = Domain.last
|
||||
|
||||
expect(d.owner_contact_code).to eq('mak21')
|
||||
expect(d.auth_info).to eq('2BARfoo')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue