Sha256: c1efc83cc796abb5d921f6f9794323aaa62788908ea0b876a4fd24ad835f9f2c
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::BlueClothTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers def test_filter if_have 'bluecloth' do # Create filter filter = ::Nanoc::Filters::BlueCloth.new # Run filter result = filter.setup_and_run("> Quote") assert_match %r{<blockquote>\s*<p>Quote</p>\s*</blockquote>}, result end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.6.1 | test/filters/test_bluecloth.rb |
nanoc-3.6.0 | test/filters/test_bluecloth.rb |