User interface for the registry along with basic settings

This commit is contained in:
Martin Lensment 2014-08-15 14:45:53 +03:00
parent d5d1d0040b
commit ceb688902f
26 changed files with 278 additions and 32 deletions

View file

@ -240,6 +240,15 @@ describe 'EPP Domain', epp: true do
expect(response[:results][0][:result_code]).to eq('2303')
expect(response[:results][0][:msg]).to eq('Domain not found')
end
it 'updates domain', pending: true do
response = epp_request('domains/update.xml')
expect(response[:results][0][:result_code]).to eq('1000')
d = Domain.first
new_ns = d.nameservers.find_by(hostname: 'ns2.example.com')
expect(new_ns).to be_truthy
end
end
it 'checks a domain' do