Sha256: f2431d151eecb65e9cfb9096677661d6dee4dacbecb0b36431481995236c0568

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

# encoding: utf-8

require 'test/helper'

class Nanoc3::Filters::RDocTest < MiniTest::Unit::TestCase

  include Nanoc3::TestHelpers

  def test_filter
    # Get filter
    filter = ::Nanoc3::Filters::RDoc.new

    # Run filter
    result = filter.run("= Foo")
    assert_equal("<h1>Foo</h1>\n", result)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nanoc3-3.1.9 test/filters/test_rdoc.rb
nanoc3-3.1.8 test/filters/test_rdoc.rb