Sha256: ba3f31e1aaf2ffae52bf5331478fcd4157df71024346c2adcdd61d2a5b3adaa4

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::OverflowPunctuation do
  include ValuePropertyTestMacros

  it_should_use tag: :overflowPunct, name: "overflow_punctuation"

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