Sha256: c643462833e8286fe01b883725738f5ce696134e603d3ecc561ae6b1e18dc948

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :caps, name: "caps", value: true

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

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