Tests cleanup

This commit is contained in:
Martin Lensment 2014-09-04 12:04:17 +03:00
parent 1ebf7b5e21
commit 2067b73966
2 changed files with 4 additions and 25 deletions

View file

@ -492,10 +492,7 @@ describe 'EPP Domain', epp: true do
xml_params = { xml_params = {
chg: [ chg: [
registrant: { value: 'mak21' }, registrant: { value: 'mak21' }
authInfo: [
pw: { value: '2BARfoo' }
]
] ]
} }

View file

@ -246,9 +246,6 @@ describe 'EPP Helper', epp: true do
</domain:rem> </domain:rem>
<domain:chg> <domain:chg>
<domain:registrant>mak21</domain:registrant> <domain:registrant>mak21</domain:registrant>
<domain:authInfo>
<domain:pw>2BARfoo</domain:pw>
</domain:authInfo>
</domain:chg> </domain:chg>
</domain:update> </domain:update>
</update> </update>
@ -278,10 +275,7 @@ describe 'EPP Helper', epp: true do
status: { attrs: { s: 'clientUpdateProhibited' }, value: '' } status: { attrs: { s: 'clientUpdateProhibited' }, value: '' }
], ],
chg: [ chg: [
registrant: { value: 'mak21' }, registrant: { value: 'mak21' }
authInfo: [
pw: { value: '2BARfoo' }
]
] ]
) )
@ -315,9 +309,6 @@ describe 'EPP Helper', epp: true do
</domain:rem> </domain:rem>
<domain:chg> <domain:chg>
<domain:registrant>sh8013</domain:registrant> <domain:registrant>sh8013</domain:registrant>
<domain:authInfo>
<domain:pw>b3rafsla</domain:pw>
</domain:authInfo>
</domain:chg> </domain:chg>
</domain:update> </domain:update>
</update> </update>
@ -345,10 +336,7 @@ describe 'EPP Helper', epp: true do
status: { attrs: { s: 'clientUpdateProhibited' }, value: '' } status: { attrs: { s: 'clientUpdateProhibited' }, value: '' }
], ],
chg: [ chg: [
registrant: { value: 'sh8013' }, registrant: { value: 'sh8013' }
authInfo: [
pw: { value: 'b3rafsla' }
]
] ]
) )
@ -366,9 +354,6 @@ describe 'EPP Helper', epp: true do
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>mak21</domain:registrant> <domain:registrant>mak21</domain:registrant>
<domain:authInfo>
<domain:pw>2BARfoo</domain:pw>
</domain:authInfo>
</domain:chg> </domain:chg>
</domain:update> </domain:update>
</update> </update>
@ -379,10 +364,7 @@ describe 'EPP Helper', epp: true do
xml = domain_update_xml( xml = domain_update_xml(
chg: [ chg: [
registrant: { value: 'mak21' }, registrant: { value: 'mak21' }
authInfo: [
pw: { value: '2BARfoo' }
]
] ]
) )
generated = Nokogiri::XML(xml).to_s.squish generated = Nokogiri::XML(xml).to_s.squish