Sha256: 795f6cf49951513b8f676c3521a97dac517c6fa92c98189ec0b2a9f7f155225d

Contents?: true

Size: 847 Bytes

Versions: 19

Compression:

Stored size: 847 Bytes

Contents

require "spec_helper"

describe "border-radius" do
  before(:all) do
    ParserSupport.parse_file("addons/border-radius")
  end

  context "called with one argument" do
    it "applies to correct sides" do
      top = "border-top-left-radius: 1em; " +
            "border-top-right-radius: 1em;"
      left = "border-bottom-left-radius: 2em; " +
              "border-top-left-radius: 2em;"
      right = "border-bottom-right-radius: 3em; " +
              "border-top-right-radius: 3em;"
      bottom = "border-bottom-left-radius: 4em; " +
                "border-bottom-right-radius: 4em;"

      expect(".border-top-radius").to have_ruleset(top)
      expect(".border-left-radius").to have_ruleset(left)
      expect(".border-right-radius").to have_ruleset(right)
      expect(".border-bottom-radius").to have_ruleset(bottom)
    end
  end
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
bourbon-4.3.4 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.3.3 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.3.2 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.3.1 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.3.0 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.2.7 spec/bourbon/addons/border_radius_spec.rb
bourbon-5.0.0.beta.1 spec/bourbon/addons/border_radius_spec.rb
styler-sass-0.1.8.alpha spec/bourbon/addons/border_radius_spec.rb
styler-sass-0.1.7 spec/bourbon/addons/border_radius_spec.rb
styler-sass-0.1.7.alpha spec/bourbon/addons/border_radius_spec.rb
styler-sass-0.1.5.alpha spec/bourbon/addons/border_radius_spec.rb
bourbon-4.2.6 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.2.5 spec/bourbon/addons/border_radius_spec.rb
bourbon-5.0.0.alpha.0 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.2.4 spec/bourbon/addons/border_radius_spec.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/bourbon-4.2.3/spec/bourbon/addons/border_radius_spec.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/bourbon-4.2.3/spec/bourbon/addons/border_radius_spec.rb
bourbon-4.2.3 spec/bourbon/addons/border_radius_spec.rb
bourbon-4.2.2 spec/bourbon/addons/border_radius_spec.rb