Sha256: 2cb9083905e7a615bfcf6f5a2efd2d079aef85a6892dd7f06a7b7049545b55cf
Contents?: true
Size: 571 Bytes
Versions: 6
Compression:
Stored size: 571 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::BookFoldPrintingSheets do include ElementTestMacros it_should_use tag: :bookFoldPrintingSheets, name: "book_fold_printing_sheets" for_attribute(:value) do with_value(1) do it_should_assign_successfully it_should_output "<w:bookFoldPrintingSheets w:val=\"1\"/>" end with_value(-1) do it_should_raise_an_exception end with_value(1.1) do it_should_raise_an_exception end with_value(:not_a_number) do it_should_raise_an_exception end end end
Version data entries
6 entries across 6 versions & 1 rubygems