Sha256: fbca2b08ff2243f1a0f4cb21b7b1883eaf52201c6b1d5ad20a7b58ef400901a8

Contents?: true

Size: 344 Bytes

Versions: 8

Compression:

Stored size: 344 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :header, name: "header", value: "Something"

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