Sha256: 13793de4a7a778df472ed359bcb622c2905ecccc8ca3e8357f4e319a810abe7c
Contents?: true
Size: 486 Bytes
Versions: 15
Compression:
Stored size: 486 Bytes
Contents
# -*- encoding: utf-8 -*- require 'webgen/test_helper' require 'webgen/content_processor/rainpress' class TestContentProcessorRainpress < Minitest::Test include Webgen::TestHelper def test_static_call setup_context @website.config['content_processor.rainpress.options'] = {} cp = Webgen::ContentProcessor::Rainpress @context.content = "a \n{ border: 1px solid bold\n}" assert_equal("a{border:1px solid bold}", cp.call(@context).content) end end
Version data entries
15 entries across 15 versions & 1 rubygems