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

Version Path
gettalong-webgen-0.5.4.20080929 test/test_contentprocessor_redcloth.rb
gettalong-webgen-0.5.5.20081001 test/test_contentprocessor_redcloth.rb
webgen-0.5.0 test/test_contentprocessor_redcloth.rb
webgen-0.5.3 test/test_contentprocessor_redcloth.rb
webgen-0.5.4 test/test_contentprocessor_redcloth.rb
webgen-0.5.2 test/test_contentprocessor_redcloth.rb
webgen-0.5.1 test/test_contentprocessor_redcloth.rb
webgen-0.5.5 test/test_contentprocessor_redcloth.rb