Sha256: a6e1a1116109f8cb1629ec17aa6ecc1c941087ef375eec0cd8b836d4d67b8d1b
Contents?: true
Size: 974 Bytes
Versions: 5
Compression:
Stored size: 974 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::TextDirection do include ValuePropertyTestMacros it_should_use tag: :textDirection, name: "text_direction", value: :lr with_value(:lr) do it_should_work it_should_output "<w:textDirection w:val=\"lr\"/>" end with_value(:lrV) do it_should_work it_should_output "<w:textDirection w:val=\"lrV\"/>" end with_value(:rl) do it_should_work it_should_output "<w:textDirection w:val=\"rl\"/>" end with_value(:rlV) do it_should_work it_should_output "<w:textDirection w:val=\"rlV\"/>" end with_value(:tb) do it_should_work it_should_output "<w:textDirection w:val=\"tb\"/>" end with_value(:tbV) do it_should_work it_should_output "<w:textDirection w:val=\"tbV\"/>" end with_value(:btLr) do it_should_work it_should_output "<w:textDirection w:val=\"btLr\"/>" end with_value(:left_to_right) do it_should_not_work end end
Version data entries
5 entries across 5 versions & 1 rubygems