spec/elements/drawingml/blip_fill_spec.rb in openxml-docx-0.10.0 vs spec/elements/drawingml/blip_fill_spec.rb in openxml-docx-0.10.1

- old
+ new

@@ -14,13 +14,18 @@ with_value(:not_a_number) do it_should_raise_an_exception end end - for_attribute(:rotWithShape) do - with_values([true, false]) do + for_attribute(:rotate_with_shape) do + with_value(true) do it_should_assign_successfully - it_should_output_regular_xml + it_should_output "<pic:blipFill rotWithShape=\"true\"/>" + end + + with_value(false) do + it_should_assign_successfully + it_should_output "<pic:blipFill rotWithShape=\"false\"/>" end with_value(:not_a_boolean) do it_should_raise_an_exception end