Sha256: 883008f2c936d822cefc2d18df3fe6c27af510837b5efa2e6f5b0c057a297e5c

Contents?: true

Size: 379 Bytes

Versions: 15

Compression:

Stored size: 379 Bytes

Contents

# encoding: utf-8

class Nanoc::Filters::MarukuTest < MiniTest::Unit::TestCase

  include Nanoc::TestHelpers

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

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

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
nanoc-3.5.0 test/filters/test_maruku.rb
nanoc-3.5.0b2 test/filters/test_maruku.rb
nanoc-3.5.0b1 test/filters/test_maruku.rb
nanoc-3.4.3 test/filters/test_maruku.rb
nanoc-3.4.2 test/filters/test_maruku.rb
nanoc-3.4.1 test/filters/test_maruku.rb
nanoc-3.4.0 test/filters/test_maruku.rb
nanoc-3.3.7 test/filters/test_maruku.rb
nanoc-3.3.6 test/filters/test_maruku.rb
nanoc-3.3.5 test/filters/test_maruku.rb
nanoc-3.3.4 test/filters/test_maruku.rb
nanoc-3.3.3 test/filters/test_maruku.rb
nanoc-3.3.2 test/filters/test_maruku.rb
nanoc-3.3.1 test/filters/test_maruku.rb
nanoc-3.3.0 test/filters/test_maruku.rb