Sha256: 569c8f02af2d5f10f0174eefb688a3eecb03189efeac2b44e230179a9466ed0f

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

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

require 'webgen/test_helper'
require 'webgen/content_processor/r_doc'

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

2 entries across 2 versions & 1 rubygems

Version Path
webgen-1.0.0.beta3 test/webgen/content_processor/test_r_doc.rb
webgen-1.0.0.beta2 test/webgen/content_processor/test_r_doc.rb