mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Contact Epp tests refactored to use EppXml gem
This commit is contained in:
parent
afcec06fe3
commit
b046927c95
6 changed files with 171 additions and 195 deletions
|
@ -11,7 +11,7 @@ describe '.extract_attributes' do
|
|||
end
|
||||
|
||||
it 'should return empty hash if no disclosure' do
|
||||
parsed_frame = Nokogiri::XML(contact_create_xml).remove_namespaces!
|
||||
parsed_frame = Nokogiri::XML(create_contact_xml).remove_namespaces!
|
||||
result = ContactDisclosure.extract_attributes(parsed_frame)
|
||||
expect(result).to eq({})
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue