tests/tc_xml_xpath.rb in libxml-ruby-0.3.6 vs tests/tc_xml_xpath.rb in libxml-ruby-0.3.8
- old
+ new
@@ -1,6 +1,7 @@
-# $Id: tc_xml_xpath.rb,v 1.2 2006/02/21 20:40:16 roscopeco Exp $
-require "#{File.dirname(__FILE__)}/../ext/xml/libxml" unless defined?(XML)
+# $Id: tc_xml_xpath.rb,v 1.3 2006/04/17 13:30:19 roscopeco Exp $
+require "libxml_test"
+require "test/unit"
class TC_XML_XPath < Test::Unit::TestCase
def setup()
xp = XML::Parser.new()
str = '<ruby_array uga="booga" foo="bar"><fixnum>one</fixnum><fixnum>two</fixnum></ruby_array>'