# File test/xpath_test.rb, line 239 def test_axe_parent q = XPath.first( @@doc, "a/d/c/parent::*/q" ) assert_equal 19, q.attributes["id"].to_i end