Sha256: 649847b2fa5300a8f187fad34af6e2207001dda3387c948fb5f69dd97cdca577

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::OutlineLevel do
  include ValuePropertyTestMacros

  it_should_use tag: :outlineLvl, name: "outline_level", value: 2

  with_value(:big) do
    it_should_not_work
  end

  with_value(-1) do
    it_should_not_work
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocx-0.7.0 spec/properties/outline_level_spec.rb
rocx-0.6.0 spec/properties/outline_level_spec.rb
rocx-0.5.8 spec/properties/outline_level_spec.rb