Sha256: 19fe974164637f1849ea9763582d6d681d1c5196d06f529ed372cbfb4d1f784b

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 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)
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nanoc-3.6.6 test/filters/test_maruku.rb
nanoc-3.6.5 test/filters/test_maruku.rb
nanoc-3.6.4 test/filters/test_maruku.rb
nanoc-3.6.3 test/filters/test_maruku.rb
nanoc-3.6.2 test/filters/test_maruku.rb