Sha256: 6ddd07df86f969dbced126ab3e2832896142608875794536935759072bb6d6ee
Contents?: true
Size: 402 Bytes
Versions: 8
Compression:
Stored size: 402 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::VAlign do include ValuePropertyTestMacros it_should_use tag: :vAlign, name: "v_align", value: :both %i(both bottom center top).each do |good_value| with_value(good_value) do it_should_work it_should_output "<w:vAlign w:val=\"#{good_value}\"/>" end end with_value(:invalid) do it_should_not_work end end
Version data entries
8 entries across 8 versions & 1 rubygems