Sha256: 36ab01112f9bc1ab762db01fa38f2902ad6330281e16156be4a174cd3bcee6a9
Contents?: true
Size: 500 Bytes
Versions: 5
Compression:
Stored size: 500 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::MarkupCompatibilityChoice do include ElementTestMacros it_should_use tag: :Choice, name: "markup_compatibility_choice" with_no_attributes_set do it_should_output "<mc:Choice/>", assign: false end for_attribute(:requires) do with_value("wps") do it_should_assign_successfully it_should_output "<mc:Choice Requires=\"wps\"/>" end with_value(1234) do it_should_raise_an_exception end end end
Version data entries
5 entries across 5 versions & 1 rubygems