Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (25 sloc) 0.695 kb
require 'spec_helper'
describe "@include row()" do
let (:identifier) {"row"}
before(:all) do
ParserSupport.parse_file(identifier)
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
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
Jump to Line
Something went wrong with that request. Please try again.