Sha256: 7904d0efe86a01d1db9dc8745c9d457ad8b80f576ab8e917b940cb3bc0acc1ca

Contents?: true

Size: 625 Bytes

Versions: 16

Compression:

Stored size: 625 Bytes

Contents

require "spec_helper"

describe "tint" do
  before(:all) do
    ParserSupport.parse_file("library/tint")
  end

  context "called on white" do
    it "still returns white" do
      expect(".tint-white").to have_rule("color: white")
    end
  end

  context "called on black" do
    it "tints black" do
      expect(".tint-black").to have_rule("color: gray")
    end
  end

  context "called on red" do
    it "tints red" do
      expect(".tint-red").to have_rule("color: #ff4040")
    end
  end

  context "called on gray" do
    it "tints gray" do
      expect(".tint-gray").to have_rule("color: #c6c6c6")
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
bourbon-7.3.0 spec/bourbon/library/tint_spec.rb
bourbon-7.2.0 spec/bourbon/library/tint_spec.rb
bourbon-7.1.0 spec/bourbon/library/tint_spec.rb
bourbon-7.0.0 spec/bourbon/library/tint_spec.rb
bourbon-6.0.0 spec/bourbon/library/tint_spec.rb
bourbon-5.1.0 spec/bourbon/library/tint_spec.rb
bourbon-5.0.1 spec/bourbon/library/tint_spec.rb
bourbon-5.0.0 spec/bourbon/library/tint_spec.rb
bourbon-5.0.0.beta.8 spec/bourbon/library/tint_spec.rb
bourbon-5.0.0.beta.7 spec/bourbon/library/tint_spec.rb
doggystyle-0.1.0 spec/doggystyle/library/tint_spec.rb
bourbon-5.0.0.beta.6 spec/bourbon/library/tint_spec.rb
bourbon-5.0.0.beta.5 spec/bourbon/library/tint_spec.rb
bourbon-5.0.0.beta.4 spec/bourbon/library/tint_spec.rb
bourbon-5.0.0.beta.3 spec/bourbon/library/tint_spec.rb
bourbon-5.0.0.beta.2 spec/bourbon/library/tint_spec.rb