Sha256: cb4e2220a8b00fbf350f308047b1ac641076c0fbf876aee9f4c4f66c2e571d23
Contents?: true
Size: 430 Bytes
Versions: 6
Compression:
Stored size: 430 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::FontAlternateName do include ElementTestMacros it_should_use tag: :altName, name: "font_alternate_name" for_attribute(:value) do with_value("String Font Name") do it_should_assign_successfully it_should_output "<w:altName w:val=\"String Font Name\"/>" end with_value(:somethingElse) do it_should_raise_an_exception end end end
Version data entries
6 entries across 6 versions & 1 rubygems