Sha256: a9fa06fa0db8285cce50586cc58468d0f07155a21361bfab5d912953954e2ffe

Contents?: true

Size: 906 Bytes

Versions: 3

Compression:

Stored size: 906 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::Effect do
  include ValuePropertyTestMacros

  it_should_use tag: :effect, name: "effect", value: :none

  with_value(:antsBlack) do
    it_should_work
    it_should_output "<w:effect w:val=\"antsBlack\"/>"
  end

  with_value(:antsRed) do
    it_should_work
    it_should_output "<w:effect w:val=\"antsRed\"/>"
  end

  with_value(:blinkBackground) do
    it_should_work
    it_should_output "<w:effect w:val=\"blinkBackground\"/>"
  end

  with_value(:lights) do
    it_should_work
    it_should_output "<w:effect w:val=\"lights\"/>"
  end

  with_value(:none) do
    it_should_work
    it_should_output "<w:effect w:val=\"none\"/>"
  end

  with_value(:shimmer) do
    it_should_work
    it_should_output "<w:effect w:val=\"shimmer\"/>"
  end

  with_value(:sparkle) do
    it_should_work
    it_should_output "<w:effect w:val=\"sparkle\"/>"
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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