Sha256: 2c7a7148255913307b5d6d79319b6945a0b1b4bf446cc4810a604effa9737f9d

Contents?: true

Size: 401 Bytes

Versions: 10

Compression:

Stored size: 401 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :noProof, name: "no_proof"

  with_value(true) do
    it_should_work
    it_should_output "<w:noProof w:val=\"true\"/>"
  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

10 entries across 10 versions & 1 rubygems

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