Sha256: d128b9a8cbce49ddf8f3200b448e6506ce7b778ad32c04b2308c23b4c66b6560

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 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

3 entries across 3 versions & 1 rubygems

Version Path
neat-1.7.0 spec/neat/default_spec.rb
neat-1.7.0.rc spec/neat/default_spec.rb
neat-1.7.0.pre spec/neat/default_spec.rb