Sha256: 042676a57c00618c7834ef3ca42c3c60d68c4931f896ccca1a89a0901dd24c44

Contents?: true

Size: 349 Bytes

Versions: 14

Compression:

Stored size: 349 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

14 entries across 14 versions & 1 rubygems

Version Path
nanoc-3.7.3 test/filters/test_bluecloth.rb
nanoc-3.7.2 test/filters/test_bluecloth.rb
nanoc-3.7.1 test/filters/test_bluecloth.rb
nanoc-3.7.0 test/filters/test_bluecloth.rb
nanoc-3.6.11 test/filters/test_bluecloth.rb
nanoc-3.6.10 test/filters/test_bluecloth.rb
nanoc-3.6.9 test/filters/test_bluecloth.rb
nanoc-3.6.8 test/filters/test_bluecloth.rb
nanoc-3.6.7 test/filters/test_bluecloth.rb
nanoc-3.6.6 test/filters/test_bluecloth.rb
nanoc-3.6.5 test/filters/test_bluecloth.rb
nanoc-3.6.4 test/filters/test_bluecloth.rb
nanoc-3.6.3 test/filters/test_bluecloth.rb
nanoc-3.6.2 test/filters/test_bluecloth.rb