Sha256: 858ae3ad9bd6c23cc645e4ad500f01dd4f73a8ba3eac3b5a63bb27451fcf9574

Contents?: true

Size: 459 Bytes

Versions: 8

Compression:

Stored size: 459 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :trHeight, name: "table_row_height"

  for_attribute(:hRule) do
    values = %i(auto atLeast exact)
    it_should_assign_and_output_xml values
    it_should_not_allow_invalid_value
  end

  for_attribute(:val) do
    it_should_assign_and_output_xml 2
    it_should_not_allow_floats
    it_should_not_allow_invalid_value
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

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