Sha256: 851ba053fce8d6b1dcd334b7849b70488033a4b43177864a2d511cf74ae72529
Contents?: true
Size: 594 Bytes
Versions: 10
Compression:
Stored size: 594 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::VerticalAlignment do include ValuePropertyTestMacros it_should_use tag: :vertAlign, name: "vertical_alignment", value: :baseline with_value(:baseline) do it_should_work it_should_output "<w:vertAlign w:val=\"baseline\"/>" end with_value(:subscript) do it_should_work it_should_output "<w:vertAlign w:val=\"subscript\"/>" end with_value(:superscript) do it_should_work it_should_output "<w:vertAlign w:val=\"superscript\"/>" end with_value(:megascript) do it_should_not_work end end
Version data entries
10 entries across 10 versions & 1 rubygems