From 96befb4816fdd524d4a8f8063e7c7cfca5343239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20Keskk=C3=BCla?= Date: Thu, 8 Jan 2015 12:05:09 +0200 Subject: [PATCH] Style fixes --- spec/epp/contact_spec.rb | 4 ++-- spec/support/epp_contact_xml_helper.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)