Sha256: 975d323072b4b9d54b2c264df2e460e3975b14885f1be7dc75fbad1411180836

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::DivId do
  include ValuePropertyTestMacros

  it_should_use tag: :divId, name: "div_id", value: 1

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

  with_value(:big) do
    it_should_not_work
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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