# File test/test_node.rb, line 13 def test_resource() node = Node.new(Uri.new("http://example.com/")) assert(node.resource?) assert_equal(node,Node.new(:uri_string=>"http://example.com/")) end