Sha256: 6da9237497eafb07a01ac6a36bfbc9fa1c99d34e532d1778e1ebb565d98fff82

Contents?: true

Size: 346 Bytes

Versions: 22

Compression:

Stored size: 346 Bytes

Contents

require 'helper'

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

22 entries across 22 versions & 1 rubygems

Version Path
nanoc-4.7.9 test/filters/test_bluecloth.rb
nanoc-4.7.8 test/filters/test_bluecloth.rb
nanoc-4.7.7 test/filters/test_bluecloth.rb
nanoc-4.7.6 test/filters/test_bluecloth.rb
nanoc-4.7.5 test/filters/test_bluecloth.rb
nanoc-4.7.4 test/filters/test_bluecloth.rb
nanoc-4.7.3 test/filters/test_bluecloth.rb
nanoc-4.7.2 test/filters/test_bluecloth.rb
nanoc-4.7.1 test/filters/test_bluecloth.rb
nanoc-4.7.0 test/filters/test_bluecloth.rb
nanoc-4.6.4 test/filters/test_bluecloth.rb
nanoc-4.6.3 test/filters/test_bluecloth.rb
nanoc-4.6.2 test/filters/test_bluecloth.rb
nanoc-4.6.1 test/filters/test_bluecloth.rb
nanoc-4.6.0 test/filters/test_bluecloth.rb
nanoc-4.5.4 test/filters/test_bluecloth.rb
nanoc-4.5.3 test/filters/test_bluecloth.rb
nanoc-4.5.2 test/filters/test_bluecloth.rb
nanoc-4.5.1 test/filters/test_bluecloth.rb
nanoc-4.5.0 test/filters/test_bluecloth.rb