Sha256: 6110b3bcd927f9941714b783b1cb235dcd0109131960268318e93b3c53fa1550

Contents?: true

Size: 390 Bytes

Versions: 7

Compression:

Stored size: 390 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :hideMark, name: "hide_mark"

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

7 entries across 7 versions & 1 rubygems

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