Sha256: 624aeaff3b90988c0b94c370b4fa6319c937cf2dbf915cb9ab4b7c75333420a4

Contents?: true

Size: 442 Bytes

Versions: 10

Compression:

Stored size: 442 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :adjustRightInd, name: "auto_adjust_right_ind"

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

  with_value(false) do
    it_should_work
    it_should_output ""
  end

  with_value(nil) do
    it_should_work
    it_should_output ""
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.10.5 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.10.4 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.10.3 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.10.2 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.10.1 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.10.0 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.9.0 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.8.0 spec/properties/auto_adjust_right_indent_spec.rb
openxml-docx-0.8.0.beta1 spec/properties/auto_adjust_right_indent_spec.rb