Sha256: 854d6074b870b9c679e5f34a86ac74fb92f9715efbc7a8d8479a2b3eb8157383
Contents?: true
Size: 366 Bytes
Versions: 2
Compression:
Stored size: 366 Bytes
Contents
# encoding: utf-8 require 'test/helper' class Nanoc3::Filters::RedClothTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers def test_filter if_have 'redcloth' do # Get filter filter = ::Nanoc3::Filters::RedCloth.new # Run filter result = filter.run("h1. Foo") assert_equal("<h1>Foo</h1>", result) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc3-3.1.9 | test/filters/test_redcloth.rb |
nanoc3-3.1.8 | test/filters/test_redcloth.rb |