Sha256: d08bac8bdedd1b836fe19936a048615e11ce3bf8a575b1b5d105f869769ea1f7

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 Bytes

Contents

require "spec_helper"

describe "By default" do
  before(:all) do
    ParserSupport.parse_file("default")
  end

  it "sets sizing on the html element to border-box" do
    expect("html").to have_rule("box-sizing: border-box")
  end

  it "sets sizing on the global selector to inherit" do
    expect("*::after").to have_rule("box-sizing: inherit")
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
neat-1.9.1 spec/neat/default_spec.rb
neat-1.9.0 spec/neat/default_spec.rb
neat-1.8.0 spec/neat/default_spec.rb
neat-1.7.4 spec/neat/default_spec.rb
neat-1.7.3 spec/neat/default_spec.rb
neat-1.7.2 spec/neat/default_spec.rb