spec/bourbon/library/font_face_spec_3.rb
raw| 1 | require "spec_helper" |
| 2 | |
| 3 | describe "font-face" do |
| 4 | before(:all) do |
| 5 | ParserSupport.parse_file("library/font-face-3") |
| 6 | end |
| 7 | |
| 8 | context "called with defaults" do |
| 9 | it "outputs defaults" do |
| 10 | ruleset = 'font-family: "pitch";' + |
| 11 | 'src: font-url("/fonts/pitch.woff2") format("woff2");' |
| 12 | |
| 13 | expect("@font-face").to have_ruleset(ruleset) |
| 14 | end |
| 15 | end |
| 16 | end |