mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
rubocop autocorret to get tests green
This commit is contained in:
parent
c0caf53878
commit
2d6ed7fa45
24 changed files with 105 additions and 112 deletions
|
@ -72,16 +72,16 @@ describe 'EPP Helper', epp: true do
|
|||
|
||||
xml = domain_create_xml({
|
||||
name: { value: 'one.ee' },
|
||||
period: {value: '345', attrs: { unit: 'd' } },
|
||||
period: { value: '345', attrs: { unit: 'd' } },
|
||||
ns: [
|
||||
{ hostObj: {value: 'ns1.test.net' } },
|
||||
{ hostObj: {value: 'ns2.test.net' } }
|
||||
{ hostObj: { value: 'ns1.test.net' } },
|
||||
{ hostObj: { value: 'ns2.test.net' } }
|
||||
],
|
||||
registrant: { value: '32fsdaf' },
|
||||
_other: [
|
||||
{ contact: {value: '2323rafaf', attrs: { type: 'admin' } } },
|
||||
{ contact: {value: '3dgxx', attrs: { type: 'tech' } } },
|
||||
{ contact: {value: '345xxv', attrs: { type: 'tech' } } }
|
||||
{ contact: { value: '2323rafaf', attrs: { type: 'admin' } } },
|
||||
{ contact: { value: '3dgxx', attrs: { type: 'tech' } } },
|
||||
{ contact: { value: '345xxv', attrs: { type: 'tech' } } }
|
||||
]
|
||||
})
|
||||
|
||||
|
@ -452,7 +452,6 @@ describe 'EPP Helper', epp: true do
|
|||
generated = Nokogiri::XML(domain_delete_xml).to_s.squish
|
||||
expect(generated).to eq(expected)
|
||||
|
||||
|
||||
expected = Nokogiri::XML('<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue