Sha256: 363a61c833945f952d284ce99253e59bc7958d12f786c69be28abd9953072bd8
Contents?: true
Size: 547 Bytes
Versions: 10
Compression:
Stored size: 547 Bytes
Contents
require "test_helper" module Csscss::Parser module Outline describe self do include CommonParserTests before do @parser = Parser.new @trans = Transformer.new end it "converts shorthand rules to longhand" do trans("1px solid blue").must_equal([ dec("outline-width", "1px"), dec("outline-style", "solid"), dec("outline-color", "blue") ]) trans("solid").must_equal([ dec("outline-style", "solid") ]) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems