Sha256: d2a143a30c56e9658deee9c4f7a1df5b7cfeb5e00a9c577a30131c461c67c46d

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

require "spec_helper"

describe Rocx::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

3 entries across 3 versions & 1 rubygems

Version Path
rocx-0.7.0 spec/properties/no_proof_spec.rb
rocx-0.6.0 spec/properties/no_proof_spec.rb
rocx-0.5.8 spec/properties/no_proof_spec.rb