Sha256: 6d4e74ae6a02edb5a4814bf9caa5927e4c66430bac9ec09524ebccdbc4c3241d
Contents?: true
Size: 484 Bytes
Versions: 2
Compression:
Stored size: 484 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::Text do include ElementTestMacros it_should_use tag: :t, name: "text" for_attribute(:space, with_namespace: :xml) 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_regular_xml end with_value(:the_final_frontier) do it_should_raise_an_exception end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.10.1 | spec/elements/text_spec.rb |
openxml-docx-0.10.0 | spec/elements/text_spec.rb |