Sha256: 98df924f08cdbc6c6221ddb1a0847b4d4762aae44f38b026e31605c6acf37ae5
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::TitlePage do include ElementTestMacros it_should_use tag: :titlePg, name: "title_page" with_no_attributes_set do it_should_output "<w:titlePg/>", assign: false end for_attribute(:value) do with_value(true) do it_should_assign_successfully it_should_output "<w:titlePg w:val=\"true\"/>" end with_value(:somethingElse) do it_should_raise_an_exception end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.10.6 | spec/elements/title_page_spec.rb |
openxml-docx-0.10.5 | spec/elements/title_page_spec.rb |
openxml-docx-0.10.4 | spec/elements/title_page_spec.rb |