Sha256: c2f1437ff5c97812b21c2475ca0c4014070bfa0466b70db57be59b84bae6c308

Contents?: true

Size: 398 Bytes

Versions: 7

Compression:

Stored size: 398 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :tblHeader, name: "table_header"

  with_value(true) do
    it_should_work
    it_should_output "<w:tblHeader/>"
  end

  with_value(false) do
    it_should_work
    it_should_output ""
  end

  with_value(nil) do
    it_should_work
    it_should_output ""
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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