Sha256: b9858ce95af622dc5996ac74ce0a45067d75ab0fa35a1e8bcc1fa858afc1ffc9

Contents?: true

Size: 381 Bytes

Versions: 8

Compression:

Stored size: 381 Bytes

Contents

# encoding: utf-8

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

  include Nanoc3::TestHelpers

  def test_filter
    if_have 'bluecloth' do
      # Create filter
      filter = ::Nanoc3::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

8 entries across 8 versions & 1 rubygems

Version Path
nanoc3-3.2.4 test/filters/test_bluecloth.rb
nanoc3-3.2.3 test/filters/test_bluecloth.rb
nanoc3-3.2.2 test/filters/test_bluecloth.rb
nanoc3-3.2.1 test/filters/test_bluecloth.rb
nanoc3-3.2.0 test/filters/test_bluecloth.rb
nanoc3-3.2.0b3 test/filters/test_bluecloth.rb
nanoc3-3.2.0b2 test/filters/test_bluecloth.rb
nanoc3-3.2.0b1 test/filters/test_bluecloth.rb