# encoding: utf-8 class Nanoc3::Filters::RDocTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers def test_filter if_have 'rdoc' do # Get filter filter = ::Nanoc3::Filters::RDoc.new # Run filter result = filter.run("= Foo") assert_match(%r{

Foo

\Z}, result) end end end