Sha256: 10b3fca120a64cdc1a1d3038c79b768301c57170bfa22160786952bf94431cb3

Contents?: true

Size: 357 Bytes

Versions: 8

Compression:

Stored size: 357 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :tblStyle, name: "table_style", value: "Something"

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