Sha256: 0785cf9d8e1343511b27668553595c3990b7b87e0907547310025f3a76015154

Contents?: true

Size: 617 Bytes

Versions: 6

Compression:

Stored size: 617 Bytes

Contents

require "spec_helper"

describe "directional-values" do
  before(:all) do
    ParserSupport.parse_file("utilities/directional-values")
  end

  context "directional-property" do
    it "returns property and values with four distinct lengths" do
      expect(".border-all").to have_rule("border-width: 2px 5px 8px 12px")
    end

    it "returns property and value with one length" do
      expect(".border-top").to have_rule("border-top: 10px")
    end

    it "returns property and value with vertical and horizontal values" do
      expect(".border-color").to have_rule("border-color: #fff #000")
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
doggystyle-0.1.0 spec/doggystyle/utilities/directional_values_spec.rb
bourbon-5.0.0.beta.6 spec/bourbon/utilities/directional_values_spec.rb
bourbon-5.0.0.beta.5 spec/bourbon/utilities/directional_values_spec.rb
bourbon-5.0.0.beta.4 spec/bourbon/utilities/directional_values_spec.rb
bourbon-5.0.0.beta.3 spec/bourbon/utilities/directional_values_spec.rb
bourbon-5.0.0.beta.2 spec/bourbon/utilities/directional_values_spec.rb