Sha256: 64da1fa68b14aee55c72e39527b868e17820711251410c7aab4bbe721997d6f5

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::VerticalMerge do
  include ValuePropertyTestMacros

  it_should_use tag: :vMerge, name: "vertical_merge", value: :restart

  with_value(:restart) do
    it_should_work
    it_should_output "<w:vMerge w:val=\"restart\"/>"
  end

  with_value(:continue) do
    it_should_work
    it_should_output "<w:vMerge w:val=\"continue\"/>"
  end

  with_value(:not_ok) do
    it_should_not_work
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/vertical_merge_spec.rb
openxml-docx-0.10.5 spec/properties/vertical_merge_spec.rb
openxml-docx-0.10.4 spec/properties/vertical_merge_spec.rb
openxml-docx-0.10.3 spec/properties/vertical_merge_spec.rb
openxml-docx-0.10.2 spec/properties/vertical_merge_spec.rb