Sha256: 11fa42cc2558bff10e8af199198620b967d307e5609734dfc81ab1236337e77f

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::WidowControl do
  include ValuePropertyTestMacros

  it_should_use tag: :widowControl, name: "widow_control"

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

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