Debian Codegraph @

spec/bourbon/library/hide_text_spec.rb

raw
1 require "spec_helper"
2
3 describe "hide-text" do
4 before(:all) do
5 ParserSupport.parse_file("library/hide-text")
6 end
7
8 context "called on element" do
9 it "adds hide-text" do
10 ruleset = "overflow: hidden; " +
11 "text-indent: 101%; " +
12 "white-space: nowrap;"
13
14 expect(".hide-text").to have_ruleset(ruleset)
15 end
16 end
17 end