One registrar can not see other registrars domains test

This commit is contained in:
Martin Lensment 2014-08-28 18:15:35 +03:00
parent c1b24d6b71
commit 4637b7b717

View file

@ -41,6 +41,12 @@ describe 'EPP Domain', epp: true do
Fabricate(:domain, name: 'example.ee', registrar: elkdata)
end
it 'can not see other registrar domains' do
response = epp_request(domain_info_xml, :xml)
expect(response[:result_code]).to eq('2303')
expect(response[:msg]).to eq('Domain not found')
end
it 'transfers a domain' do
response = epp_request(domain_transfer_xml, :xml)