Sha256: 24c1dc5f5cf4a825db576ae2ca09aec7a2038ec6c8b7cee360a2033b7449fd61

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :bidi, name: "bidi", value: true

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

  with_value(false) do
    it_should_work
    it_should_output "<w:bidi 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/bidi_spec.rb