Sha256: 4944ef8be534bf8bc410f4af22a7d1e9b0aaa8634a3d84c684aa48acebc3af24
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
require "spec_helper" describe "gamma" do before(:all) do ParserSupport.parse_file("utilities/gamma") end context "called on a color channel" do it "outputs a gamma value between 0 and 1" do rule = "content: 0.13185;" expect(".gamma").to have_ruleset(rule) end end context "called on a full color channel" do it "outputs a gamma value between 0 and 1" do rule = "content: 1;" expect(".gamma-full").to have_ruleset(rule) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bourbon-5.0.1 | spec/bourbon/utilities/gamma_spec.rb |
bourbon-5.0.0 | spec/bourbon/utilities/gamma_spec.rb |