Sha256: 398805953dfbc6a0c6d5440974417c532a5cccb6ed66b33818fe2ac747e9b9b4

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

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

require 'webgen/test_helper'
require 'webgen/content_processor/rdoc'

class TestRDoc < MiniTest::Unit::TestCase

  include Webgen::TestHelper

  def test_static_call
    setup_context
    cp = Webgen::ContentProcessor::RDoc

    @context.content = "* hello"
    assert_equal("<ul><li><p>hello</p></li></ul>", cp.call(@context).content.tr("\n", ''))
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webgen-1.0.0.beta1 test/webgen/content_processor/test_rdoc.rb