Sha256: 7bff1a10982f712872fbdfd8391b68cdaedb1321b763d0593b626c528b2c6050

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::Caps do
  include ValuePropertyTestMacros

  it_should_use tag: :caps, name: "caps"

  with_value(true) do
    it_should_work
    it_should_output "<w:caps/>"
  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/caps_spec.rb
rocx-0.6.0 spec/properties/caps_spec.rb
rocx-0.5.8 spec/properties/caps_spec.rb