Sha256: 113b078780db1b0b167709b8e79ef4bb673e1d8d855518dceff4f0d683092051
Contents?: true
Size: 591 Bytes
Versions: 6
Compression:
Stored size: 591 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::WordProcessingGroupsGroupShapeProperties do include ElementTestMacros it_should_use tag: :grpSpPr, name: "word_processing_groups_group_shape_properties" for_attribute(:bw_mode) do %i(auto black blackGray blackWhite clr gray grayWhite hidden invGray ltGray white).each do |good_value| with_value(good_value) do it_should_assign_successfully it_should_output "<wpg:grpSpPr bwMode=\"#{good_value}\"/>" end end with_value(:no_good) do it_should_raise_an_exception end end end
Version data entries
6 entries across 6 versions & 1 rubygems