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