Sha256: 0b8c5730490874a3a9d0a58341e1cbc3874d55adcdf82b55ab95ac5447cc30b5

Contents?: true

Size: 495 Bytes

Versions: 7

Compression:

Stored size: 495 Bytes

Contents

require "spec_helper"

describe "@include display-context() {...}" do
  before(:all) do
    ParserSupport.parse_file("display-context")
  end

  context "with argument (table)" do
    it "changes display value to table" do
      expect(".display-table-block").to have_rule("display: table-cell")
    end
  end

  context "whith nested call and argument (block)" do
    it "changes display value to block" do
      expect(".display-nested-block").to have_rule("display: block")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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