spec/properties/table_border_spec.rb in openxml-docx-0.10.0 vs spec/properties/table_border_spec.rb in openxml-docx-0.10.1
- old
+ new
@@ -37,11 +37,11 @@
it_should_output "<w:bottom w:frame=\"true\" w:val=\"babyPacifier\"/>", :bottom, :babyPacifier
end
with_value(false) do
it_should_assign_successfully :bottom, :babyPacifier
- it_should_output "<w:bottom w:val=\"babyPacifier\"/>", :bottom, :babyPacifier
+ it_should_output "<w:bottom w:frame=\"false\" w:val=\"babyPacifier\"/>", :bottom, :babyPacifier
end
it_should_not_allow_invalid_value
end
@@ -51,10 +51,10 @@
it_should_output "<w:bottom w:shadow=\"true\" w:val=\"babyPacifier\"/>", :bottom, :babyPacifier
end
with_value(false) do
it_should_assign_successfully :bottom, :babyPacifier
- it_should_output "<w:bottom w:val=\"babyPacifier\"/>", :bottom, :babyPacifier
+ it_should_output "<w:bottom w:shadow=\"false\" w:val=\"babyPacifier\"/>", :bottom, :babyPacifier
end
it_should_not_allow_invalid_value
end