diff --git a/spec/epp/contact_spec.rb b/spec/epp/contact_spec.rb index 1dce1be90..e74264e33 100644 --- a/spec/epp/contact_spec.rb +++ b/spec/epp/contact_spec.rb @@ -58,8 +58,8 @@ describe 'EPP Contact', epp: true do end it 'successfully saves ident type' do - xml = {ident: { value: '37605030299' , attrs: { type: 'birthday' } }} - response = epp_request(create_contact_xml(xml), :xml) + xml = { ident: { value: '37605030299', attrs: { type: 'birthday' } } } + epp_request(create_contact_xml(xml), :xml) expect(Contact.last.ident_type).to eq('birthday') end diff --git a/spec/support/epp_contact_xml_helper.rb b/spec/support/epp_contact_xml_helper.rb index 6be1d4b6a..693e12ae7 100644 --- a/spec/support/epp_contact_xml_helper.rb +++ b/spec/support/epp_contact_xml_helper.rb @@ -11,7 +11,7 @@ module EppContactXmlHelper }, voice: { value: '+372.1234567' }, email: { value: 'test@example.example' }, - ident: { value: '37605030299' , attrs: { type: 'op' } } + ident: { value: '37605030299', attrs: { type: 'op' } } } xml_params = defaults.deep_merge(xml_params)