Sha256: 00f4e2599b00050c13c12faa7d854f09cb70263cb24d161f71bfe6e5e73fb87a
Contents?: true
Size: 698 Bytes
Versions: 2
Compression:
Stored size: 698 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Elements::Break do include ElementTestMacros it_should_use tag: :br, name: "break" for_attribute(:clear, with_namespace: :w) do allowed = %i(all left none right) with_values(allowed) do it_should_assign_successfully it_should_output_regular_xml end with_value(:somethingElse) do it_should_raise_an_exception end end for_attribute(:type, with_namespace: :w) do allowed = %i(column page textWrapping) with_values(allowed) do it_should_assign_successfully it_should_output_regular_xml end with_value(:somethingElse) do it_should_raise_an_exception end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.10.1 | spec/elements/break_spec.rb |
openxml-docx-0.10.0 | spec/elements/break_spec.rb |