Sha256: 382e88c07cb7a2f91530dc675838a2315e79d49bda75d30226c407d9e96c2df2
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::CompressPunctuation do include ValuePropertyTestMacros it_should_use tag: :topLinePunct, name: "compress_punctuation", value: true with_value(true) do it_should_work it_should_output "<w:topLinePunct/>" end with_value(false) do it_should_work it_should_output "<w:topLinePunct w:val=\"false\"/>" end with_value(:on) do it_should_work it_should_output "<w:topLinePunct w:val=\"on\"/>" end with_value(:off) do it_should_work it_should_output "<w:topLinePunct w:val=\"off\"/>" 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/compress_punctuation_spec.rb |