Sha256: b91911cac89938bbdf82f9cf99ccfa889d7389543449dd789d2f84b07b1a1094
Contents?: true
Size: 407 Bytes
Versions: 2
Compression:
Stored size: 407 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::KramdownTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers def test_filter if_have 'kramdown' do # Create filter filter = ::Nanoc::Filters::Kramdown.new # Run filter result = filter.setup_and_run("This is _so_ **cool**!") assert_equal("<p>This is <em>so</em> <strong>cool</strong>!</p>\n", result) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.6.1 | test/filters/test_kramdown.rb |
nanoc-3.6.0 | test/filters/test_kramdown.rb |