Sha256: f882ad37810a32f28e3634b3cc877ae25c0d1ed8f15b883abfa79aedcfd7ef2f

Contents?: true

Size: 347 Bytes

Versions: 6

Compression:

Stored size: 347 Bytes

Contents

# encoding: utf-8

class Nanoc::Filters::BlueClothTest < Nanoc::TestCase
  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

6 entries across 6 versions & 1 rubygems

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