Sha256: 8386a2f18d6541818a543c55be8f9a3608724c366889552042d467c131af5219
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
# encoding: utf-8 class Nanoc3::Filters::AsciiDocTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers def test_filter if `which asciidoc`.strip.empty? skip "could not find asciidoc" end # Create filter filter = ::Nanoc3::Filters::AsciiDoc.new # Run filter result = filter.run("== Blah blah") assert_match %r{<h2 id="_blah_blah">Blah blah</h2>}, result end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc3-3.2.0b2 | test/filters/test_asciidoc.rb |
nanoc3-3.2.0b1 | test/filters/test_asciidoc.rb |