Sha256: 0e7967586c7f4aaacd907b2eb5c1e120478cdccbab5358ad701301706f955bdc
Contents?: true
Size: 925 Bytes
Versions: 10
Compression:
Stored size: 925 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::PhoneticGuideAlignment do include ValuePropertyTestMacros it_should_use tag: :rubyAlign, name: "alignment", value: :left with_value(:center) do it_should_work it_should_output "<w:rubyAlign w:val=\"center\"/>" end with_value(:distributeLetter) do it_should_work it_should_output "<w:rubyAlign w:val=\"distributeLetter\"/>" end with_value(:distributeSpace) do it_should_work it_should_output "<w:rubyAlign w:val=\"distributeSpace\"/>" end with_value(:left) do it_should_work it_should_output "<w:rubyAlign w:val=\"left\"/>" end with_value(:right) do it_should_work it_should_output "<w:rubyAlign w:val=\"right\"/>" end with_value(:rightVertical) do it_should_work it_should_output "<w:rubyAlign w:val=\"rightVertical\"/>" end with_value(:nope) do it_should_not_work end end
Version data entries
10 entries across 10 versions & 1 rubygems