mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
syntax update
This commit is contained in:
parent
208dee3818
commit
7f116527c4
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ describe 'EPP Helper', epp: true do
|
||||||
context 'in context of Domain' do
|
context 'in context of Domain' do
|
||||||
before(:all) { @uniq_no = proc { @i ||= 0; @i += 1 } }
|
before(:all) { @uniq_no = proc { @i ||= 0; @i += 1 } }
|
||||||
|
|
||||||
|
# rubocop: disable Metrics/LineLength
|
||||||
it 'generates valid transfer xml' do
|
it 'generates valid transfer xml' do
|
||||||
dn = next_domain_name
|
dn = next_domain_name
|
||||||
expected = Nokogiri::XML('<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
expected = Nokogiri::XML('<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
@ -53,5 +54,6 @@ describe 'EPP Helper', epp: true do
|
||||||
generated = Nokogiri::XML(xml).to_s.squish
|
generated = Nokogiri::XML(xml).to_s.squish
|
||||||
generated.should == expected
|
generated.should == expected
|
||||||
end
|
end
|
||||||
|
# rubocop: enable Metrics/LineLength
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue