Sha256: 2bb4b8799549d51c51abd96e95ac8688ed98a50c1bb4718a3849e40f7e1aedd0

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::WordWrap do
  include ValuePropertyTestMacros

  it_should_use tag: :wordWrap, name: "word_wrap"

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

  with_value(:off) do
    it_should_work
    it_should_output "<w:wordWrap w:val=\"off\"/>"
  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/word_wrap_spec.rb
rocx-0.6.0 spec/properties/word_wrap_spec.rb
rocx-0.5.8 spec/properties/word_wrap_spec.rb