Sha256: 649e77c6ea61080180f6eed82229fe1d86c104e3ea2450f13d58cb8e86f94b8e

Contents?: true

Size: 651 Bytes

Versions: 10

Compression:

Stored size: 651 Bytes

Contents

require "spec_helper"

describe "overflow-wrap" do
  before(:all) do
    ParserSupport.parse_file("library/overflow-wrap")
  end

  context "called on element" do
    it "adds overflow-wrap and word-wrap" do
      input = ".overflow-wrap"
      ruleset = "word-wrap: break-word; " +
                "overflow-wrap: break-word;"

      expect(input).to have_ruleset(ruleset)
    end
  end

  context "called on element with normal" do
    it "sets values as normal" do
      input = ".overflow-wrap-normal"
      ruleset = "word-wrap: normal; " +
                "overflow-wrap: normal;"

      expect(input).to have_ruleset(ruleset)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bourbon-7.3.0 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-7.2.0 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-7.1.0 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-7.0.0 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-6.0.0 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-5.1.0 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-5.0.1 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-5.0.0 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-5.0.0.beta.8 spec/bourbon/library/overflow_wrap_spec.rb
bourbon-5.0.0.beta.7 spec/bourbon/library/overflow_wrap_spec.rb