Sha256: ab2e12de94cf8ecf0d3877ba935f7ed016adfc445b024a46df00635c4e192e92

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::PageBreakBefore do
  include ValuePropertyTestMacros

  it_should_use tag: :pageBreakBefore, name: "page_break_before"

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