Sha256: 2934f7785d1b0c21c50da5c3e52423ce24eb6100269c6047e75d4ecf332fa60b
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::DeletedText do include ElementTestMacros it_should_use tag: :del, name: "deleted_text" for_attribute(:space, with_namespace: :xml) do with_value(nil) do it_should_assign_successfully it_should_output "<w:del/>" 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/deleted_text_spec.rb |
openxml-docx-0.10.0 | spec/elements/deleted_text_spec.rb |