Sha256: 2780f852cd77dd606078ccfa84b0e7a398e0fd1a2c4239cce592a897dfccbf0d

Contents?: true

Size: 211 Bytes

Versions: 2

Compression:

Stored size: 211 Bytes

Contents

require 'equivalent-xml'

def assert_equal_xml(str1, str2, message = nil)
  assert EquivalentXml.equivalent?(str1, str2), message || "XML not equal, expected \"#{str2.inspect}\" but got \"#{str1.inspect}\""
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activemerchant-realex3ds-1.0.1 test/assert_equal_xml.rb
activemerchant-realex3ds-1.0.0 test/assert_equal_xml.rb