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