Sha256: fd5632b124155a5a1ee35f4de694fad8de95d3981f2d8323e192614a50c9bf40
Contents?: true
Size: 523 Bytes
Versions: 8
Compression:
Stored size: 523 Bytes
Contents
# encoding: utf-8 class Nanoc3::Filters::MarkabyTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers def test_filter # Don’t run this test on 1.9.x, because it breaks and it annoys me if RUBY_VERSION >= '1.9' skip "Markaby is not compatible with 1.9.x" return end if_have 'markaby' do # Create filter filter = ::Nanoc3::Filters::Markaby.new # Run filter result = filter.run("html do\nend") assert_equal("<html></html>", result) end end end
Version data entries
8 entries across 8 versions & 1 rubygems