Sha256: 6e898074f37f861164515c611742ebb790e3f1280bd0511f932e1621f3b77719
Contents?: true
Size: 318 Bytes
Versions: 40
Compression:
Stored size: 318 Bytes
Contents
class Nanoc::Filters::AsciiDocTest < Nanoc::TestCase def test_filter skip_unless_have_command 'asciidoc' # Create filter filter = ::Nanoc::Filters::AsciiDoc.new # Run filter result = filter.setup_and_run('== Blah blah') assert_match %r{<h2 id="_blah_blah">Blah blah</h2>}, result end end
Version data entries
40 entries across 40 versions & 1 rubygems