Sha256: 6f3baa3076ff53908c7c1a08d9886ff08d08793de3edd5e4bdc78cb8d9f8dfaf

Contents?: true

Size: 383 Bytes

Versions: 3

Compression:

Stored size: 383 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::HiddenText do
  include ValuePropertyTestMacros

  it_should_use tag: :vanish, name: "hidden_text"

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