Sha256: 2f05185e90b8c54f777226879c0fb48dea94dcaff186b944d5880eff4c326234
Contents?: true
Size: 503 Bytes
Versions: 5
Compression:
Stored size: 503 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::WordProcessingShapesTextualContent do include ElementTestMacros it_should_use tag: :txbx, name: "word_processing_shapes_textual_content" with_no_attributes_set do it_should_output "<wps:txbx/>", assign: false end for_attribute(:id) do with_value(1)do it_should_assign_successfully it_should_output "<wps:txbx id=\"1\"/>" end with_value("invalid") do it_should_raise_an_exception end end end
Version data entries
5 entries across 5 versions & 1 rubygems