Sha256: 8ec5cca4454ba754c13116bbf392b58dafafd9494db6fca77725cfa207e99bde

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :supressAutoHyphens, name: "supress_auto_hyphens", value: true

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

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