Sha256: c45aa4745a729ceff16ac99104fed0382d9871221dda0890e416b2d7fc4e5d2e

Contents?: true

Size: 365 Bytes

Versions: 8

Compression:

Stored size: 365 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :tblCaption, name: "table_caption", value: "Something"

  with_value("Something Else") do
    it_should_work
    it_should_output "<w:tblCaption 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_caption_spec.rb
openxml-docx-0.10.5 spec/properties/table_caption_spec.rb
openxml-docx-0.10.4 spec/properties/table_caption_spec.rb
openxml-docx-0.10.3 spec/properties/table_caption_spec.rb
openxml-docx-0.10.2 spec/properties/table_caption_spec.rb
openxml-docx-0.10.1 spec/properties/table_caption_spec.rb
openxml-docx-0.10.0 spec/properties/table_caption_spec.rb
openxml-docx-0.9.0 spec/properties/table_caption_spec.rb