Sha256: 1ca3c64400b029cd1bbabab93d2eeb0c9d3e78b25c34322cd4fc85ca5079c32e

Contents?: true

Size: 303 Bytes

Versions: 6

Compression:

Stored size: 303 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

6 entries across 6 versions & 1 rubygems

Version Path
nanoc-4.0.0b2 test/filters/test_rdoc.rb
nanoc-4.0.0b1 test/filters/test_rdoc.rb
nanoc-4.0.0a2 test/filters/test_rdoc.rb
nanoc-4.0.0a1 test/filters/test_rdoc.rb
nanoc-3.8.0 test/filters/test_rdoc.rb
nanoc-3.7.5 test/filters/test_rdoc.rb