Sha256: 6ec4046331aaad0675184ff9354e3ee2c2f5adeb66caaf36731518d4ad8f047a

Contents?: true

Size: 328 Bytes

Versions: 40

Compression:

Stored size: 328 Bytes

Contents

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

40 entries across 40 versions & 1 rubygems

Version Path
nanoc-4.4.5 test/filters/test_bluecloth.rb
nanoc-4.4.4 test/filters/test_bluecloth.rb
nanoc-4.4.3 test/filters/test_bluecloth.rb
nanoc-4.4.2 test/filters/test_bluecloth.rb
nanoc-4.4.1 test/filters/test_bluecloth.rb
nanoc-4.4.0 test/filters/test_bluecloth.rb
nanoc-4.3.8 test/filters/test_bluecloth.rb
nanoc-4.3.7 test/filters/test_bluecloth.rb
nanoc-4.3.6 test/filters/test_bluecloth.rb
nanoc-4.3.5 test/filters/test_bluecloth.rb
nanoc-4.3.4 test/filters/test_bluecloth.rb
nanoc-4.3.3 test/filters/test_bluecloth.rb
nanoc-4.3.2 test/filters/test_bluecloth.rb
nanoc-4.3.1 test/filters/test_bluecloth.rb
nanoc-4.3.0 test/filters/test_bluecloth.rb
nanoc-4.2.4 test/filters/test_bluecloth.rb
nanoc-4.2.3 test/filters/test_bluecloth.rb
nanoc-4.2.2 test/filters/test_bluecloth.rb
nanoc-4.2.1 test/filters/test_bluecloth.rb
nanoc-4.2.0 test/filters/test_bluecloth.rb