Sha256: 6331043b21a81056453529a9eabf462a448e0399518e7c3959f8aba2f2196ad4

Contents?: true

Size: 284 Bytes

Versions: 40

Compression:

Stored size: 284 Bytes

Contents

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

40 entries across 40 versions & 1 rubygems

Version Path
nanoc-4.1.6 test/filters/test_rdoc.rb
nanoc-4.2.0b1 test/filters/test_rdoc.rb
nanoc-4.1.5 test/filters/test_rdoc.rb
nanoc-4.1.4 test/filters/test_rdoc.rb
nanoc-4.1.3 test/filters/test_rdoc.rb
nanoc-4.1.2 test/filters/test_rdoc.rb
nanoc-4.1.1 test/filters/test_rdoc.rb
nanoc-4.1.0 test/filters/test_rdoc.rb
nanoc-4.1.0rc2 test/filters/test_rdoc.rb
nanoc-4.1.0rc1 test/filters/test_rdoc.rb
nanoc-4.1.0b1 test/filters/test_rdoc.rb
nanoc-4.1.0a1 test/filters/test_rdoc.rb
nanoc-4.0.2 test/filters/test_rdoc.rb
nanoc-4.0.1 test/filters/test_rdoc.rb
nanoc-4.0.0 test/filters/test_rdoc.rb
nanoc-4.0.0rc3 test/filters/test_rdoc.rb
nanoc-4.0.0rc2 test/filters/test_rdoc.rb
nanoc-4.0.0rc1 test/filters/test_rdoc.rb
nanoc-4.0.0b4 test/filters/test_rdoc.rb
nanoc-4.0.0b3 test/filters/test_rdoc.rb