mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Create legal documents
This commit is contained in:
parent
4f10cccdfa
commit
e09ddd3138
10 changed files with 274 additions and 7 deletions
|
@ -245,6 +245,15 @@ describe 'EPP Domain', epp: true do
|
|||
expect(key.public_key).to eq('AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8')
|
||||
end
|
||||
|
||||
it 'creates a domain with legal document' do
|
||||
response = epp_request(domain_create_xml_with_legal_doc, :xml)
|
||||
|
||||
expect(response[:result_code]).to eq('1000')
|
||||
expect(response[:msg]).to eq('Command completed successfully')
|
||||
d = Domain.first
|
||||
expect(d.legal_documents.count).to eq(1)
|
||||
end
|
||||
|
||||
it 'creates ria.ee with valid ds record' do
|
||||
xml = domain_create_xml({
|
||||
name: { value: 'ria.ee' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue