Sha256: 41ea0acbca50a4a46e40c61c1a89975a18263ab13914b1f0268da71265f2b688

Contents?: true

Size: 654 Bytes

Versions: 13

Compression:

Stored size: 654 Bytes

Contents

require "spec_helper"

describe "font-face" do
  before(:all) do
    ParserSupport.parse_file("css3/font-face-5")
  end

  context "called with additional CSS rules" do
    it "outputs defaults with additional content" do
      ruleset = 'font-family: "calibre"; ' +
                'src: url("fonts/calibre.woff2") format("woff2"), ' +
                'url("fonts/calibre.woff") format("woff"), ' +
                'url("fonts/calibre.ttf") format("truetype"); ' +
                "font-style: normal;" +
                "font-weight: 600;" +
                "unicode-range: U+26;"

      expect("@font-face").to have_ruleset(ruleset)
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
bourbon-6.0.0 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.1.0 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.1 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0.beta.8 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0.beta.7 spec/bourbon/library/font_face_spec_2.rb
doggystyle-0.1.0 spec/doggystyle/library/font_face_spec_2.rb
bourbon-5.0.0.beta.6 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0.beta.5 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0.beta.4 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0.beta.3 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0.beta.2 spec/bourbon/library/font_face_spec_2.rb
bourbon-5.0.0.beta.1 spec/bourbon/addons/font_face_spec_2.rb