Sha256: 883619b225cbf0aa597f1b309c9fc1226b264f8d2c6e7e415bad5dd2fbf33d51
Contents?: true
Size: 695 Bytes
Versions: 1
Compression:
Stored size: 695 Bytes
Contents
require "spec_helper" describe OpenXml::DrawingML::Elements::BlipFill do include ElementTestMacros it_should_use tag: :blipFill, name: "blip_fill" for_attribute(:dpi) do with_values([1, -1]) do it_should_assign_successfully it_should_output_regular_xml end with_value(:not_a_number) do it_should_raise_an_exception end end for_attribute(:rotWithShape) do with_values([true, false]) do it_should_assign_successfully it_should_output_regular_xml end with_value(:not_a_boolean) do it_should_raise_an_exception end end with_no_attributes_set do it_should_output "<pic:blipFill/>", assign: false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.10.0 | spec/elements/drawingml/blip_fill_spec.rb |