Sha256: c2faf2e6cf74d45467f93a4521f778c9e317f39fa13847255b208aac5a094a14

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::RightToLeft do
  include ValuePropertyTestMacros

  it_should_use tag: :rtl, name: "right_to_left", value: true

  with_value(true) do
    it_should_work
    it_should_output "<w:rtl/>"
  end

  with_value(false) do
    it_should_work
    it_should_output "<w:rtl w:val=\"false\"/>"
  end

  with_value(nil) do
    it_should_not_work
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/right_to_left_spec.rb