Sha256: 64423915ad606bb1082d91a96a8a4420a90906d39934454b31ebc5ef4485a3cd
Contents?: true
Size: 951 Bytes
Versions: 7
Compression:
Stored size: 951 Bytes
Contents
require "spec_helper" describe "@include row()" do before(:all) do ParserSupport.parse_file("row") end context "with no argument" do it "adds clearfix" do expect(".row-default::after").to have_rule("clear: both") end it "sets display to block" do expect(".row-default").to have_rule("display: block") end end context "with argument (table)" do it "sets display to table" do expect(".row-table").to have_rule("display: table") end it "forces table-cell display on child elements" do expect(".row-table-reset .block-child").to have_rule("display: table-cell") end end context "with reset-display()" do it "resets display to block" do expect(".no-row").to have_rule("display: block") end end context "with invalid display argument" do it "sets display to block" do expect(".row-invalid-display").to have_rule("display: block") end end end
Version data entries
7 entries across 7 versions & 1 rubygems