Sha256: 817279ba5b4bc239524757ab5f80c04d430acb49097b0ac4f33a2cfef99dea71
Contents?: true
Size: 518 Bytes
Versions: 16
Compression:
Stored size: 518 Bytes
Contents
require "spec_helper" describe "contrast-switch" do before(:all) do ParserSupport.parse_file("library/contrast-switch") end context "called with a light base color" do it "outputs the dark color" do rule = "color: #000;" expect(".contrast-switch-light-base").to have_ruleset(rule) end end context "called with a dark base color" do it "outputs the light color" do rule = "color: #eee;" expect(".contrast-switch-dark-base").to have_ruleset(rule) end end end
Version data entries
16 entries across 16 versions & 2 rubygems