Sha256: 464b12c43b5e1c393a4599f57cf2635d18882d972b9cfea79cedaca1e56838c9

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

require 'test/unit'
require 'webgen/websiteaccess'
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

4 entries across 4 versions & 2 rubygems

Version Path
gettalong-webgen-0.5.5.20081010 test/test_contentprocessor_redcloth.rb
gettalong-webgen-0.5.5.20081012 test/test_contentprocessor_redcloth.rb
gettalong-webgen-0.5.6.20081020 test/test_contentprocessor_redcloth.rb
webgen-0.5.6 test/test_contentprocessor_redcloth.rb