Sha256: 5f485a55e92a370c104bfd0c2d13bb0bbbe124bd371054c87a8945310c724f58
Contents?: true
Size: 337 Bytes
Versions: 6
Compression:
Stored size: 337 Bytes
Contents
# encoding: utf-8 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
6 entries across 6 versions & 1 rubygems