Sha256: 11d08d6991512184b058a46c5899e2b746a18ae93c04d92c17a90d6bb246c581

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

# encoding: utf-8

class Nanoc::Filters::MarukuTest < Nanoc::TestCase
  def test_filter
    if_have 'maruku' do
      # Create filter
      filter = ::Nanoc::Filters::Maruku.new

      # Run filter
      result = filter.setup_and_run('This is _so_ *cool*!')
      assert_equal('<p>This is <em>so</em> <em>cool</em>!</p>', result.strip)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nanoc-4.0.0b2 test/filters/test_maruku.rb
nanoc-4.0.0b1 test/filters/test_maruku.rb
nanoc-4.0.0a2 test/filters/test_maruku.rb
nanoc-4.0.0a1 test/filters/test_maruku.rb
nanoc-3.8.0 test/filters/test_maruku.rb
nanoc-3.7.5 test/filters/test_maruku.rb