Sha256: d12236b6befe384d280acf2ffd7106911812308a72de73c9ef940d286308469d

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

# -*- encoding: utf-8 -*-

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

3 entries across 3 versions & 3 rubygems

Version Path
gettalong-webgen-0.5.7.20090227 test/test_contentprocessor_redcloth.rb
thewoolleyman-webgen-0.5.8.20090419 test/test_contentprocessor_redcloth.rb
webgen-0.5.7 test/test_contentprocessor_redcloth.rb