Sha256: 447750a2667c25a47b4cf017d022176baddbefa2efaba03a24f42b644185e9ac
Contents?: true
Size: 524 Bytes
Versions: 5
Compression:
Stored size: 524 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::WordProcessingShapesShape do include ElementTestMacros it_should_use tag: :wsp, name: "word_processing_shapes_shape" with_no_attributes_set do it_should_output "<wps:wsp/>", assign: false end for_attribute(:normal_east_asian_flow) do with_value(true)do it_should_assign_successfully it_should_output "<wps:wsp normalEastAsianFlow=\"true\"/>" end with_value("invalid") do it_should_raise_an_exception end end end
Version data entries
5 entries across 5 versions & 1 rubygems