Sha256: 44a5251317a49f73f824a6010c8a5fb2e0301704e1700f5c3ffa06563edb2a41

Contents?: true

Size: 972 Bytes

Versions: 1

Compression:

Stored size: 972 Bytes

Contents

require "spec_helper"

describe "font-stacks" do
  before(:all) do
    ParserSupport.parse_file("addons/font-stacks")
  end

  context "stacks used in variable" do
    it "output stacks" do
      georgia = '"Georgia", "Cambria", "Times New Roman", "Times", serif'
      helvetica = '"Helvetica Neue", "Helvetica", "Roboto", ' +
                  '"Arial", sans-serif'
      lucida_grande = '"Lucida Grande", "Tahoma", "Verdana", ' +
                      '"Arial", sans-serif'
      monospace = '"Bitstream Vera Sans Mono", "Consolas", "Courier", monospace'
      verdana = '"Verdana", "Geneva", sans-serif'

      expect(".georgia").to have_rule("font-family: #{georgia}")
      expect(".helvetica").to have_rule("font-family: #{helvetica}")
      expect(".lucida-grande").to have_rule("font-family: #{lucida_grande}")
      expect(".monospace").to have_rule("font-family: #{monospace}")
      expect(".verdana").to have_rule("font-family: #{verdana}")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bourbon-4.2.2 spec/bourbon/addons/font_stacks_spec.rb