Sha256: 9a31baee74e8ca15fb70aaedfb681f0b514434792ce38128c1ff87dd53c8bb5e

Contents?: true

Size: 390 Bytes

Versions: 2

Compression:

Stored size: 390 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :titlePg, name: "title_page"

  with_value(true) do
    it_should_work
    it_should_output "<w:titlePg/>"
  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/title_page_spec.rb
openxml-docx-0.10.4 spec/properties/title_page_spec.rb