Sha256: 628ff02ff16aed433ec58084c269763451dd555c1deba926c6ca4d15ccd5a7b7

Contents?: true

Size: 780 Bytes

Versions: 8

Compression:

Stored size: 780 Bytes

Contents

require "spec_helper"

describe "neat-column-default" do
  before(:all) do
    ParserSupport.parse_file("functions/neat-column-default")
  end

  context "called with default grid" do
    it "gets default columns" do
      rule = "content: 12"

      expect(".neat-column-default-grid").to have_rule(rule)
    end

    it "gets custom columns" do
      rule = "content: 10"

      expect(".neat-column-default-grid-custom-col").to have_rule(rule)
    end
  end

  context "called with custom grid" do
    it "gets default columns" do
      rule = "content: 18"

      expect(".neat-column-custom-grid").to have_rule(rule)
    end

    it "gets custom columns" do
      rule = "content: 10"

      expect(".neat-column-custom-grid-custom-col").to have_rule(rule)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
neat-4.0.0 spec/neat/functions/neat_column_default_spec.rb
neat-3.0.1 spec/neat/functions/neat_column_default_spec.rb
neat-3.0.0 spec/neat/functions/neat_column_default_spec.rb
neat-2.1.0 spec/neat/functions/neat_column_default_spec.rb
neat-2.0.0 spec/neat/functions/neat_column_default_spec.rb
neat-2.0.0.beta.2 spec/neat/functions/neat_column_default_spec.rb
neat-2.0.0.beta.1 spec/neat/functions/neat_column_default_spec.rb
neat-2.0.0.alpha.1 spec/neat/functions/neat_column_default_spec.rb