Sha256: 94f26537f17ceb10f95bc4c657e5f00f390287f1e49bcadf15ebededa5f8d088

Contents?: true

Size: 970 Bytes

Versions: 5

Compression:

Stored size: 970 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::TableLook do
  include PropertyTestMacros

  it_should_use tag: :tblLook, name: "table_look"

  for_attribute(:firstColumn) do
    it_should_assign_and_output_xml true
    it_should_not_allow_invalid_value
  end

  for_attribute(:firstRow) do
    it_should_assign_and_output_xml true
    it_should_not_allow_invalid_value
  end

  for_attribute(:lastColumn) do
    it_should_assign_and_output_xml true
    it_should_not_allow_invalid_value
  end

  for_attribute(:lastRow) do
    it_should_assign_and_output_xml true
    it_should_not_allow_invalid_value
  end

  for_attribute(:noHBand) do
    it_should_assign_and_output_xml true
    it_should_not_allow_invalid_value
  end

  for_attribute(:noVBand) do
    it_should_assign_and_output_xml true
    it_should_not_allow_invalid_value
  end

  for_attribute(:value) do
    it_should_assign_and_output_xml "00AF"
    it_should_not_allow_invalid_value
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/table_look_spec.rb
openxml-docx-0.10.5 spec/properties/table_look_spec.rb
openxml-docx-0.10.4 spec/properties/table_look_spec.rb
openxml-docx-0.10.3 spec/properties/table_look_spec.rb
openxml-docx-0.10.2 spec/properties/table_look_spec.rb