require 'test/unit' require 'webgen/tree' require 'webgen/contentprocessor' class TestContentProcessorRDoc < Test::Unit::TestCase def test_call obj = Webgen::ContentProcessor::RDoc.new root = Webgen::Node.new(Webgen::Tree.new.dummy_root, '/', '/') node = Webgen::Node.new(root, 'test', 'test') context = Webgen::ContentProcessor::Context.new(:content => "* hello", :chain => [node]) assert_equal("