Sha256: 2249019586151231796573c6c35bd17a26ec9a9a10cb7821d806252c43d509bf
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
$:.unshift File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")) require 'test/unit' require 'rets4r' class CompactNokogiriTest < Test::Unit::TestCase def test_should_do_stuff file = File.expand_path(File.join('test', 'data', '1.5', 'search_compact.xml')) listings = RETS4R::Client::CompactNokogiriParser.new.parse_results(file) assert_equal({"Third"=>"Datum3", "Second"=>"Datum2", "First"=>"Datum1"}, listings[0]) assert_equal({"Third"=>"Datum6", "Second"=>"Datum5", "First"=>"Datum4"}, listings[1]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
josephholsten-rets4r-1.1.14 | test/compact_nokogiri_test.rb |