Sha256: 5871b4cf1d63a467e0dd8bfb132f4a5ba9ffafe23f6ea9196f8a515a88246dca

Contents?: true

Size: 378 Bytes

Versions: 15

Compression:

Stored size: 378 Bytes

Contents

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

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

class TestRDoc < Minitest::Test

  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

15 entries across 15 versions & 1 rubygems

Version Path
webgen-1.7.3 test/webgen/content_processor/test_r_doc.rb
webgen-1.7.2 test/webgen/content_processor/test_r_doc.rb
webgen-1.7.1 test/webgen/content_processor/test_r_doc.rb
webgen-1.7.0 test/webgen/content_processor/test_r_doc.rb
webgen-1.6.0 test/webgen/content_processor/test_r_doc.rb
webgen-1.5.2 test/webgen/content_processor/test_r_doc.rb
webgen-1.5.1 test/webgen/content_processor/test_r_doc.rb
webgen-1.5.0 test/webgen/content_processor/test_r_doc.rb
webgen-1.4.1 test/webgen/content_processor/test_r_doc.rb
webgen-1.4.0 test/webgen/content_processor/test_r_doc.rb
webgen-1.3.0 test/webgen/content_processor/test_r_doc.rb
webgen-1.2.1 test/webgen/content_processor/test_r_doc.rb
webgen-1.2.0 test/webgen/content_processor/test_r_doc.rb
webgen-1.1.0 test/webgen/content_processor/test_r_doc.rb
webgen-1.0.0 test/webgen/content_processor/test_r_doc.rb