Sha256: 3db86333957f26c110597f340a824e4cf05219df486b0293e9fd99c04352b930

Contents?: true

Size: 495 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
neat-1.7.0 spec/neat/display_spec.rb
neat-1.7.0.rc spec/neat/display_spec.rb