Sha256: 230c23706b91fb29e5cf04e2313cfa14be5651f8ede207493fbf716d3cafba75
Contents?: true
Size: 546 Bytes
Versions: 3
Compression:
Stored size: 546 Bytes
Contents
# encoding: utf-8 require 'test/helper' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nanoc3-3.1.9 | test/filters/test_markaby.rb |
nanoc3-3.1.8 | test/filters/test_markaby.rb |
nanoc3-3.2.0a4 | test/filters/test_markaby.rb |