mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Style fixes
This commit is contained in:
parent
0a9daae72f
commit
96befb4816
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue