Sha256: a76531136867bf67377598059ef95fa231644e60c00418fcae1c7102cc124f36

Contents?: true

Size: 377 Bytes

Versions: 18

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

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

18 entries across 18 versions & 1 rubygems

Version Path
nanoc-4.8.12 test/filters/test_bluecloth.rb
nanoc-4.8.11 test/filters/test_bluecloth.rb
nanoc-4.8.10 test/filters/test_bluecloth.rb
nanoc-4.8.9 test/filters/test_bluecloth.rb
nanoc-4.8.8 test/filters/test_bluecloth.rb
nanoc-4.8.7 test/filters/test_bluecloth.rb
nanoc-4.8.6 test/filters/test_bluecloth.rb
nanoc-4.8.5 test/filters/test_bluecloth.rb
nanoc-4.8.4 test/filters/test_bluecloth.rb
nanoc-4.8.3 test/filters/test_bluecloth.rb
nanoc-4.8.2 test/filters/test_bluecloth.rb
nanoc-4.8.1 test/filters/test_bluecloth.rb
nanoc-4.8.0 test/filters/test_bluecloth.rb
nanoc-4.7.14 test/filters/test_bluecloth.rb
nanoc-4.7.13 test/filters/test_bluecloth.rb
nanoc-4.7.12 test/filters/test_bluecloth.rb
nanoc-4.7.11 test/filters/test_bluecloth.rb
nanoc-4.7.10 test/filters/test_bluecloth.rb