Sha256: f832ead17a3f9a89c3e3bf78d92978cd2422b14228196a985428befc601fbbd1

Contents?: true

Size: 419 Bytes

Versions: 15

Compression:

Stored size: 419 Bytes

Contents

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

require 'webgen/test_helper'

class TestRDiscount < Minitest::Test

  include Webgen::TestHelper

  def test_static_call
    require 'webgen/content_processor/r_discount' rescue skip('Library rdiscount not installed')
    setup_context
    cp = Webgen::ContentProcessor::RDiscount

    @context.content = '# header'
    assert_equal("<h1>header</h1>\n", cp.call(@context).content)
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

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