Sha256: 96ce8e913aba1cb689f1ea88a8f23e0782b652b1f4cf0fad2a684ca9aa542fa5
Contents?: true
Size: 732 Bytes
Versions: 5
Compression:
Stored size: 732 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::WordProcessingDrawingExtent do include ElementTestMacros it_should_use tag: :extent, name: "word_processing_drawing_extent" with_no_attributes_set do it_should_output "<wp:extent/>", assign: false end for_attribute(:extent_length) do with_value(1234)do it_should_assign_successfully it_should_output "<wp:extent cx=\"1234\"/>" end with_value(-1234) do it_should_raise_an_exception end end for_attribute(:extent_width) do with_value(1234)do it_should_assign_successfully it_should_output "<wp:extent cy=\"1234\"/>" end with_value(-1234) do it_should_raise_an_exception end end end
Version data entries
5 entries across 5 versions & 1 rubygems