Debian Codegraph @

spec/bourbon/library/clearfix_spec.rb

raw
1 require "spec_helper"
2
3 describe "clearfix" do
4 before(:all) do
5 ParserSupport.parse_file("library/clearfix")
6 end
7
8 context "called on element" do
9 it "adds clearfix" do
10 input = ".clearfix::after"
11 ruleset = "clear: both; " +
12 'content: ""; ' +
13 "display: block;"
14
15 expect(input).to have_ruleset(ruleset)
16 end
17 end
18 end