Sha256: fd0a1d8353bb54606f751f73e6674b07857926e38f79765d4af8055f3c2395c4

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :evenAndOddHeaders, name: "even_and_odd_headers"

  with_value(true) do
    it_should_work
    it_should_output "<w:evenAndOddHeaders/>"
  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

2 entries across 2 versions & 1 rubygems

Version Path
openxml-docx-0.10.5 spec/properties/even_and_odd_headers_spec.rb
openxml-docx-0.10.4 spec/properties/even_and_odd_headers_spec.rb