Sha256: 637778d75ca9379ce32bed6b28193b04136a1a801ed103a53ab485ea67cd709a

Contents?: true

Size: 305 Bytes

Versions: 10

Compression:

Stored size: 305 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :divId, name: "div_id", value: 1

  with_value(2) do
    it_should_work
    it_should_output "<w:divId w:val=\"2\"/>"
  end

  with_value(:big) do
    it_should_not_work
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/div_id_spec.rb
openxml-docx-0.10.5 spec/properties/div_id_spec.rb
openxml-docx-0.10.4 spec/properties/div_id_spec.rb
openxml-docx-0.10.3 spec/properties/div_id_spec.rb
openxml-docx-0.10.2 spec/properties/div_id_spec.rb
openxml-docx-0.10.1 spec/properties/div_id_spec.rb
openxml-docx-0.10.0 spec/properties/div_id_spec.rb
openxml-docx-0.9.0 spec/properties/div_id_spec.rb
openxml-docx-0.8.0 spec/properties/div_id_spec.rb
openxml-docx-0.8.0.beta1 spec/properties/div_id_spec.rb