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