Sha256: 50e7a29ad7e11b5040f8e732529c9b51206cb355cec7893357071df9ffc97f5f
Contents?: true
Size: 305 Bytes
Versions: 14
Compression:
Stored size: 305 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::RDocTest < Nanoc::TestCase def test_filter # Get filter filter = ::Nanoc::Filters::RDoc.new # Run filter result = filter.setup_and_run("= Foo") assert_match(%r{\A\s*<h1( id="label-Foo")?>Foo(<span>.*</span>)?</h1>\s*\Z}, result) end end
Version data entries
14 entries across 14 versions & 1 rubygems