# 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("", result) end end end