Sha256: c62e04cb650f6ec9ecfde75db007523a3fc3a39c07af5040e8cbc6641b81eea0

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

require 'test_helper'

module Papercat
  class StylesheetTest < ActiveSupport::TestCase
    test "compress" do
      source = <<-CSS
      body{
        color: red;
      }
      CSS
      script = Stylesheet.create(pathname: 'test', source: source)
      assert_equal 'body{color:red}', script.body
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
papercat-0.0.2 test/models/papercat/stylesheet_test.rb