Sha256: 01c4e138a4daa59a1fb164a1e9edb83e9cd58106c022f6faeca4e79990fa6d10
Contents?: true
Size: 1.17 KB
Versions: 10
Compression:
Stored size: 1.17 KB
Contents
require "spec_helper" describe OpenXml::Docx::Properties::Alignment do include ValuePropertyTestMacros it_should_use tag: :jc, name: "alignment", value: :end with_value(:both) do it_should_work it_should_output "<w:jc w:val=\"both\"/>" end with_value(:center) do it_should_work it_should_output "<w:jc w:val=\"center\"/>" end with_value(:distribute) do it_should_work it_should_output "<w:jc w:val=\"distribute\"/>" end with_value(:end) do it_should_work it_should_output "<w:jc w:val=\"end\"/>" end with_value(:highKashida) do it_should_work it_should_output "<w:jc w:val=\"highKashida\"/>" end with_value(:lowKashida) do it_should_work it_should_output "<w:jc w:val=\"lowKashida\"/>" end with_value(:mediumKashida) do it_should_work it_should_output "<w:jc w:val=\"mediumKashida\"/>" end with_value(:numTab) do it_should_work it_should_output "<w:jc w:val=\"numTab\"/>" end with_value(:start) do it_should_work it_should_output "<w:jc w:val=\"start\"/>" end with_value(:thaiDistribute) do it_should_work it_should_output "<w:jc w:val=\"thaiDistribute\"/>" end end
Version data entries
10 entries across 10 versions & 1 rubygems