Sha256: 582050ed36845c94dd59aa60a6b506a210ca867e9292266d4a6a89949c5136d3
Contents?: true
Size: 491 Bytes
Versions: 14
Compression:
Stored size: 491 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::MarkabyTest < Nanoc::TestCase 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
14 entries across 14 versions & 1 rubygems