Sha256: 133d28e4487a91f99e8746549076eac4c13ed2e143de121d2595aed3be0bfe5c

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

require "spec_helper"

describe Rocx::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

3 entries across 3 versions & 1 rubygems

Version Path
rocx-0.7.0 spec/properties/auto_adjust_right_indent_spec.rb
rocx-0.6.0 spec/properties/auto_adjust_right_indent_spec.rb
rocx-0.5.8 spec/properties/auto_adjust_right_indent_spec.rb