Sha256: 9218de375a8155e44cb981e8476c910d9568a2a0af9ad42557f8098ece5c4086
Contents?: true
Size: 333 Bytes
Versions: 8
Compression:
Stored size: 333 Bytes
Contents
require 'test/unit' require 'webgen/contentprocessor' class TestContentProcessorRedCloth < Test::Unit::TestCase def test_call @obj = Webgen::ContentProcessor::RedCloth.new context = Webgen::ContentProcessor::Context.new(:content => 'h1. header') assert_equal('<h1>header</h1>', @obj.call(context).content) end end
Version data entries
8 entries across 8 versions & 2 rubygems