Renamed ident flag to type

This commit is contained in:
Andres Keskküla 2015-01-08 11:50:44 +02:00
parent 8c20f2697b
commit 3f5b37db5c
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ describe 'EPP Contact', epp: true do
end
it 'successfully saves ident type' do
xml = {ident: { value: '37605030299' , attrs: { flag: 'birthday' } }}
xml = {ident: { value: '37605030299' , attrs: { type: 'birthday' } }}
response = epp_request(create_contact_xml(xml), :xml)
expect(Contact.last.ident_type).to eq('birthday')
end