Sha256: b8d8f73aaf85c89f2e748707e93d4390ccb3f17ffbc9b2d49cf4ec18b41aee29
Contents?: true
Size: 482 Bytes
Versions: 3
Compression:
Stored size: 482 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::Text do include ElementTestMacros it_should_use tag: :t, name: "text" for_attribute(:space) do with_value(nil) do it_should_assign_successfully it_should_output "<w:t/>" end with_value(:preserve) do it_should_assign_successfully it_should_output "<w:t xml:space=\"preserve\"/>" end with_value(:the_final_frontier) do it_should_raise_an_exception end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.9.0 | spec/elements/text_spec.rb |
openxml-docx-0.8.0 | spec/elements/text_spec.rb |
openxml-docx-0.8.0.beta1 | spec/elements/text_spec.rb |