Sha256: b2a2ff4c039a610a305a9b2f265436569afac2dcbbdf007fcc9b3de95418667c
Contents?: true
Size: 725 Bytes
Versions: 3
Compression:
Stored size: 725 Bytes
Contents
require "spec_helper" describe Rocx::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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rocx-0.7.0 | spec/properties/text_alignment_spec.rb |
rocx-0.6.0 | spec/properties/text_alignment_spec.rb |
rocx-0.5.8 | spec/properties/text_alignment_spec.rb |