Sha256: a1de9cfad946d01bc2275c36f8ddebcef86a1de118c76710e5510207732e873c

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :webHidden, name: "web_hidden", value: true

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

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