Sha256: 64016e557755f826617f9f2fb40cd57ef80f073db65c66846357d311e446304b

Contents?: true

Size: 381 Bytes

Versions: 8

Compression:

Stored size: 381 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :tblDescription, name: "table_description", value: "Something"

  with_value("Something Else") do
    it_should_work
    it_should_output "<w:tblDescription w:val=\"Something Else\"/>"
  end

  with_value("") 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_description_spec.rb
openxml-docx-0.10.5 spec/properties/table_description_spec.rb
openxml-docx-0.10.4 spec/properties/table_description_spec.rb
openxml-docx-0.10.3 spec/properties/table_description_spec.rb
openxml-docx-0.10.2 spec/properties/table_description_spec.rb
openxml-docx-0.10.1 spec/properties/table_description_spec.rb
openxml-docx-0.10.0 spec/properties/table_description_spec.rb
openxml-docx-0.9.0 spec/properties/table_description_spec.rb