Sha256: 2fb11341fe6e67daa0f7321fcee35f4efd2115eaddd0060cbaed8dc5409cb09c
Contents?: true
Size: 459 Bytes
Versions: 15
Compression:
Stored size: 459 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::AsciiDocTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers def test_filter if_have 'systemu' do if `which asciidoc`.strip.empty? skip "could not find asciidoc" end # Create filter filter = ::Nanoc::Filters::AsciiDoc.new # Run filter result = filter.run("== Blah blah") assert_match %r{<h2 id="_blah_blah">Blah blah</h2>}, result end end end
Version data entries
15 entries across 15 versions & 1 rubygems