Sha256: aecbf5a9c71f6d6acc4a4337f1d29b70705c10c46679df7872170dd4e37676d3
Contents?: true
Size: 607 Bytes
Versions: 18
Compression:
Stored size: 607 Bytes
Contents
require "spec_helper" describe "strip-units" do before(:all) do ParserSupport.parse_file("functions/strip-units") end context "called with px" do it "strips units" do expect(".px").to have_rule("width: 10") end end context "called with em" do it "strips units" do expect(".em").to have_rule("width: 2") end end context "called with rem" do it "strips units" do expect(".rem").to have_rule("width: 1.5") end end context "called with percent" do it "strips units" do expect(".percent").to have_rule("width: 20") end end end
Version data entries
18 entries across 18 versions & 3 rubygems