Style fixes

This commit is contained in:
Andres Keskküla 2015-01-08 12:05:09 +02:00
parent 0a9daae72f
commit 96befb4816
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -11,7 +11,7 @@ module EppContactXmlHelper
}, },
voice: { value: '+372.1234567' }, voice: { value: '+372.1234567' },
email: { value: 'test@example.example' }, email: { value: 'test@example.example' },
ident: { value: '37605030299' , attrs: { type: 'op' } } ident: { value: '37605030299', attrs: { type: 'op' } }
} }
xml_params = defaults.deep_merge(xml_params) xml_params = defaults.deep_merge(xml_params)