Sha256: d62ac1673deb05ecf38f6bec4e8561f375945abbaeab048704d58c0456e953a2
Contents?: true
Size: 524 Bytes
Versions: 7
Compression:
Stored size: 524 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::TableLayout do include PropertyTestMacros it_should_use tag: :tblLayout, name: "table_layout" for_attribute(:type) do with_value(:autofit) do it_should_assign_successfully it_should_output "<w:tblLayout w:type=\"autofit\"/>" end with_value(:fixed) do it_should_assign_successfully it_should_output "<w:tblLayout w:type=\"fixed\"/>" end with_value(:nope) do it_should_raise_an_exception end end end
Version data entries
7 entries across 7 versions & 1 rubygems