Sha256: bd058767e1fc09995b698ac7a6fa4a8eb568e8a13e4700d2e11f1285937d4077

Contents?: true

Size: 335 Bytes

Versions: 40

Compression:

Stored size: 335 Bytes

Contents

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

40 entries across 40 versions & 1 rubygems

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