Sha256: 2928e27b9fd4ceecc0ab8f2df751d76078a5f89eabb0434b8874cb111767cd8b

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::Shadow do
  include ValuePropertyTestMacros

  it_should_use tag: :shadow, name: "shadow"

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