Sha256: 7f773243b733b87cbe706be6c32c572f5b7c03cb5384872d659a736b67496c04
Contents?: true
Size: 573 Bytes
Versions: 2
Compression:
Stored size: 573 Bytes
Contents
# -*- encoding: utf-8 -*- require 'test/unit' require 'helper' 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::Context.new(:content => "* hello", :chain => [node]) assert_equal("<ul>\n<li>hello\n\n</li>\n</ul>\n", obj.call(context).content) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gettalong-webgen-0.5.9.20090620 | test/test_contentprocessor_rdoc.rb |
gettalong-webgen-0.5.9.20090626 | test/test_contentprocessor_rdoc.rb |