Sha256: e28bdeb3e1301dce68f97b921a988d2b43b0523e7a85602a668c73e9ce796808

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :hideMark, name: "hide_mark", value: true

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

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