Sha256: a23dfdbd0fc699be4db9b4de55facac333c6ce6de3d9e33afbee679ce05310b8

Contents?: true

Size: 504 Bytes

Versions: 7

Compression:

Stored size: 504 Bytes

Contents

require "spec_helper"

describe "@include outer-container()" do
  before(:all) do
    ParserSupport.parse_file("outer-container")
  end

  it "adds clearfix" do
    expect(".container-default::after").to have_rule("clear: both")
  end

  it "sets max-width" do
    expect(".container-default").to have_rule("max-width: 960px")
  end

  context "with max-width argument: 100%" do
    it "sets max-width to 100%" do
      expect(".container-custom-width").to have_rule("max-width: 100%")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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