Sha256: 0e43274bc21fa39d22a98109a290ce67affb8405fb499f90c0a6e34a0b8c491d

Contents?: true

Size: 378 Bytes

Versions: 15

Compression:

Stored size: 378 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.run("> Quote")
      assert_match %r{<blockquote>\s*<p>Quote</p>\s*</blockquote>}, result
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
nanoc-3.5.0 test/filters/test_bluecloth.rb
nanoc-3.5.0b2 test/filters/test_bluecloth.rb
nanoc-3.5.0b1 test/filters/test_bluecloth.rb
nanoc-3.4.3 test/filters/test_bluecloth.rb
nanoc-3.4.2 test/filters/test_bluecloth.rb
nanoc-3.4.1 test/filters/test_bluecloth.rb
nanoc-3.4.0 test/filters/test_bluecloth.rb
nanoc-3.3.7 test/filters/test_bluecloth.rb
nanoc-3.3.6 test/filters/test_bluecloth.rb
nanoc-3.3.5 test/filters/test_bluecloth.rb
nanoc-3.3.4 test/filters/test_bluecloth.rb
nanoc-3.3.3 test/filters/test_bluecloth.rb
nanoc-3.3.2 test/filters/test_bluecloth.rb
nanoc-3.3.1 test/filters/test_bluecloth.rb
nanoc-3.3.0 test/filters/test_bluecloth.rb