Sha256: 1db0f9a8bfeb6ff4cca4419f36b5d16c31e20a9f3454dce9e65db0509e513de3

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :mirrorIndent, name: "mirror_indent", value: true

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

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