Fix domain transfer poll test

This commit is contained in:
Martin Lensment 2014-11-07 15:18:29 +02:00
parent 3bc7385caf
commit e5ac9f32f6

View file

@ -103,7 +103,7 @@ describe 'EPP Domain', epp: true do
# should show up in other registrar's poll
response = epp_request(EppXml::Session.poll, :xml, :zone)
response = epp_request(EppXml::Session.poll, :xml, :elkdata)
expect(response[:msg]).to eq('Command completed successfully; ack to dequeue')
msg_q = response[:parsed].css('msgQ')
expect(msg_q.css('qDate').text).to_not be_blank
@ -115,7 +115,7 @@ describe 'EPP Domain', epp: true do
value: '', attrs: { op: 'ack', msgID: msg_q.first['id'] }
})
response = epp_request(xml, :xml, :zone)
response = epp_request(xml, :xml, :elkdata)
expect(response[:msg]).to eq('Command completed successfully')
msg_q = response[:parsed].css('msgQ')
expect(msg_q.first['id']).to_not be_blank