Sha256: 9c87a3f5bf692c58b2d3f9d1efd255668a2653649243fa378372666bf95c696c

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :tcFitText, name: "table_cell_fit_text"

  with_value(true) do
    it_should_work
    it_should_output "<w:tcFitText w:val=\"true\"/>"
  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

8 entries across 8 versions & 1 rubygems

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