Remove redundant xml

This commit is contained in:
Martin Lensment 2014-08-14 17:19:19 +03:00
parent 38eb98795c
commit d5d1d0040b
2 changed files with 1 additions and 15 deletions

View file

@ -178,7 +178,7 @@ describe 'EPP Domain', epp: true do
before(:each) { Fabricate(:domain, name: 'example.ee') }
it 'renews a domain' do
response = epp_request('domains/renew.xml')
response = epp_request(domain_renew_xml, :xml)
exDate = response[:parsed].css('renData exDate').text
name = response[:parsed].css('renData name').text
expect(exDate).to eq ('2015-08-07 00:00:00 UTC')

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<renew>
<domain:renew
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.ee</domain:name>
<domain:curExpDate>2014-08-07</domain:curExpDate>
<domain:period unit="y">1</domain:period>
</domain:renew>
</renew>
<clTRID>ABC-12345</clTRID>
</command>
</epp>