Sha256: 6f7f04dcc67752f9985d7e902f9b23a88a2006061b80c06073410310e5418cc8
Contents?: true
Size: 530 Bytes
Versions: 2
Compression:
Stored size: 530 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::MarkabyTest < MiniTest::Unit::TestCase include Nanoc::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 = ::Nanoc::Filters::Markaby.new # Run filter result = filter.setup_and_run("html do\nend") assert_equal("<html></html>", result) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.6.1 | test/filters/test_markaby.rb |
nanoc-3.6.0 | test/filters/test_markaby.rb |