Sha256: 36d4c4f79358ea2b91ada3457f8f5b9f25cb0137ac597c18f4493651007ef9c5
Contents?: true
Size: 348 Bytes
Versions: 15
Compression:
Stored size: 348 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::RDocTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers def test_filter if_have 'rdoc' do # Get filter filter = ::Nanoc::Filters::RDoc.new # Run filter result = filter.run("= Foo") assert_match(%r{<h1( id="label-Foo")?>Foo</h1>\Z}, result) end end end
Version data entries
15 entries across 15 versions & 1 rubygems