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