Sha256: 8cc173e66ddf2fc109c2d47fcbb2b33db10f6c20031a5874356bc9f3532cc493

Contents?: true

Size: 371 Bytes

Versions: 16

Compression:

Stored size: 371 Bytes

Contents

require "spec_helper"

describe "hide-text" do
  before(:all) do
    ParserSupport.parse_file("library/hide-text")
  end

  context "called on element" do
    it "adds hide-text" do
      ruleset = "overflow: hidden; " +
                "text-indent: 101%; " +
                "white-space: nowrap;"

      expect(".hide-text").to have_ruleset(ruleset)
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
bourbon-7.3.0 spec/bourbon/library/hide_text_spec.rb
bourbon-7.2.0 spec/bourbon/library/hide_text_spec.rb
bourbon-7.1.0 spec/bourbon/library/hide_text_spec.rb
bourbon-7.0.0 spec/bourbon/library/hide_text_spec.rb
bourbon-6.0.0 spec/bourbon/library/hide_text_spec.rb
bourbon-5.1.0 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.1 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.0 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.0.beta.8 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.0.beta.7 spec/bourbon/library/hide_text_spec.rb
doggystyle-0.1.0 spec/doggystyle/library/hide_text_spec.rb
bourbon-5.0.0.beta.6 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.0.beta.5 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.0.beta.4 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.0.beta.3 spec/bourbon/library/hide_text_spec.rb
bourbon-5.0.0.beta.2 spec/bourbon/library/hide_text_spec.rb