Sha256: a1cfd3bef1fc57b75583d5390066e64349b0f67463c5bf6aff38f49d88b1467b

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :specVanish, name: "spec_vanish", value: false

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

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