Sha256: caa67fa22a7276974f164fd842ba598902e1a22d269efaf64cf17eeef53b6967
Contents?: true
Size: 734 Bytes
Versions: 10
Compression:
Stored size: 734 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::TextAlignment do include ValuePropertyTestMacros it_should_use tag: :textAlignment, name: "text_alignment", value: :auto with_value(:auto) do it_should_work it_should_output "<w:textAlignment w:val=\"auto\"/>" end with_value(:baseline) do it_should_work it_should_output "<w:textAlignment w:val=\"baseline\"/>" end with_value(:bottom) do it_should_work it_should_output "<w:textAlignment w:val=\"bottom\"/>" end with_value(:center) do it_should_work it_should_output "<w:textAlignment w:val=\"center\"/>" end with_value(:top) do it_should_work it_should_output "<w:textAlignment w:val=\"top\"/>" end end
Version data entries
10 entries across 10 versions & 1 rubygems