Sha256: dc2d40fe80f61bac053bdc0b89c91c7ff7dc413e23852da65022cde4258c56e8

Contents?: true

Size: 415 Bytes

Versions: 9

Compression:

Stored size: 415 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :unhideWhenUsed, name: "unhide_when_used"

  with_value(true) do
    it_should_work
    it_should_output "<w:unhideWhenUsed/>"
  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

9 entries across 9 versions & 1 rubygems

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