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