Sha256: 1bcbc2cdbf629c94f7d394b32ea5ff267e566ca995dba7bdc6c981f41669b4eb
Contents?: true
Size: 554 Bytes
Versions: 18
Compression:
Stored size: 554 Bytes
Contents
require "spec_helper" describe "px-to-rem" do before(:all) do ParserSupport.parse_file("functions/px-to-rem") end context "called with unitless integer" do it "outputs rems" do expect(".unitless").to have_rule("font-size: 0.75rem") end end context "called with px" do it "outputs rems" do expect(".px").to have_rule("font-size: 1rem") end end context "called with px with modified base" do it "outputs rems" do expect(".px-with-modified-base").to have_rule("font-size: 1rem") end end end
Version data entries
18 entries across 18 versions & 3 rubygems