Sha256: 1201e11812d97061bb381ef974952ffb05f216edb0a2b0002bea9a18dd1323de
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::UnhideWhenUsed do include ValuePropertyTestMacros it_should_use tag: :unhideWhenUsed, name: "unhide_when_used", value: true with_value(true) do it_should_work it_should_output "<w:unhideWhenUsed/>" end with_value(false) do it_should_work it_should_output "<w:unhideWhenUsed w:val=\"false\"/>" end with_value(nil) do it_should_not_work end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.10.6 | spec/properties/unhide_when_used_spec.rb |