Sha256: b351ec7ab28f123966d4e05fcf2cdc709d172c716cde3d22638f5c7299bd3604
Contents?: true
Size: 639 Bytes
Versions: 15
Compression:
Stored size: 639 Bytes
Contents
require "spec_helper" describe "shade" do before(:all) do ParserSupport.parse_file("functions/shade") end context "called on white" do it "shades white" do expect(".shade-white").to have_rule("color: #404040") end end context "called on black" do it "still returns black" do expect(".shade-black").to have_rule("color: black") end end context "called on red" do it "shades red" do expect(".shade-red").to have_rule("color: #bf0000") end end context "called on gray" do it "shades gray" do expect(".shade-gray").to have_rule("color: #171717") end end end
Version data entries
15 entries across 15 versions & 2 rubygems