Sha256: 10a8f36d34ef357248925f8d256e1d5efd9e1f7a1ae3e608329dc4f0f4c92071

Contents?: true

Size: 426 Bytes

Versions: 8

Compression:

Stored size: 426 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'webgen/test_helper'
require 'webgen/content_processor/css_minify'

class TestContentProcessorCSSMinify < Minitest::Test

  include Webgen::TestHelper

  def test_static_call
    setup_context
    cp = Webgen::ContentProcessor::CSSMinify

    @context.content = "a   \n{    border: 1px   solid   #000000\n}"
    assert_equal("a{border:1px solid #000}", cp.call(@context).content)
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webgen-1.7.3 test/webgen/content_processor/test_css_minify.rb
webgen-1.7.2 test/webgen/content_processor/test_css_minify.rb
webgen-1.7.1 test/webgen/content_processor/test_css_minify.rb
webgen-1.7.0 test/webgen/content_processor/test_css_minify.rb
webgen-1.6.0 test/webgen/content_processor/test_css_minify.rb
webgen-1.5.2 test/webgen/content_processor/test_css_minify.rb
webgen-1.5.1 test/webgen/content_processor/test_css_minify.rb
webgen-1.5.0 test/webgen/content_processor/test_css_minify.rb