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

Version Path
webgen-1.7.3 test/webgen/content_processor/test_rainpress.rb
webgen-1.7.2 test/webgen/content_processor/test_rainpress.rb
webgen-1.7.1 test/webgen/content_processor/test_rainpress.rb
webgen-1.7.0 test/webgen/content_processor/test_rainpress.rb
webgen-1.6.0 test/webgen/content_processor/test_rainpress.rb
webgen-1.5.2 test/webgen/content_processor/test_rainpress.rb
webgen-1.5.1 test/webgen/content_processor/test_rainpress.rb
webgen-1.5.0 test/webgen/content_processor/test_rainpress.rb
webgen-1.4.1 test/webgen/content_processor/test_rainpress.rb
webgen-1.4.0 test/webgen/content_processor/test_rainpress.rb
webgen-1.3.0 test/webgen/content_processor/test_rainpress.rb
webgen-1.2.1 test/webgen/content_processor/test_rainpress.rb
webgen-1.2.0 test/webgen/content_processor/test_rainpress.rb
webgen-1.1.0 test/webgen/content_processor/test_rainpress.rb
webgen-1.0.0 test/webgen/content_processor/test_rainpress.rb