Sha256: 4a76dc324912a35a0870b333f104c812efb71e64c2116b503cced3175899e1c7

Contents?: true

Size: 394 Bytes

Versions: 7

Compression:

Stored size: 394 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::CantSplit do
  include ValuePropertyTestMacros

  it_should_use tag: :cantSplit, name: "cant_split"

  with_value(true) do
    it_should_work
    it_should_output "<w:cantSplit/>"
  end

  with_value(false) do
    it_should_work
    it_should_output ""
  end

  with_value(nil) do
    it_should_work
    it_should_output ""
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
openxml-docx-0.10.5 spec/properties/cant_split_spec.rb
openxml-docx-0.10.4 spec/properties/cant_split_spec.rb
openxml-docx-0.10.3 spec/properties/cant_split_spec.rb
openxml-docx-0.10.2 spec/properties/cant_split_spec.rb
openxml-docx-0.10.1 spec/properties/cant_split_spec.rb
openxml-docx-0.10.0 spec/properties/cant_split_spec.rb
openxml-docx-0.9.0 spec/properties/cant_split_spec.rb