Sha256: 7ec6ce3f9d36264d2bc0a0dbe99726dc897a033123fede63357ced645b9aaaff

Contents?: true

Size: 453 Bytes

Versions: 8

Compression:

Stored size: 453 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::TableOverlap do
  include ValuePropertyTestMacros

  it_should_use tag: :tblOverlap, name: "table_overlap", value: :never

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

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

  with_value(:nope) do
    it_should_not_work
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/table_overlap_spec.rb
openxml-docx-0.10.5 spec/properties/table_overlap_spec.rb
openxml-docx-0.10.4 spec/properties/table_overlap_spec.rb
openxml-docx-0.10.3 spec/properties/table_overlap_spec.rb
openxml-docx-0.10.2 spec/properties/table_overlap_spec.rb
openxml-docx-0.10.1 spec/properties/table_overlap_spec.rb
openxml-docx-0.10.0 spec/properties/table_overlap_spec.rb
openxml-docx-0.9.0 spec/properties/table_overlap_spec.rb