Sha256: 0a5aec2f86d50b0228c89acb74b5c27e6daf55b5ba9dd8ed935c3faba08420e9

Contents?: true

Size: 426 Bytes

Versions: 9

Compression:

Stored size: 426 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :contextualSpacing, name: "contextual_spacing"

  with_value(true) do
    it_should_work
    it_should_output "<w:contextualSpacing/>"
  end

  with_value(false) do
    it_should_work
    it_should_output ""
  end

  with_value(nil) do
    it_should_work
    it_should_output ""
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
openxml-docx-0.10.5 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.10.4 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.10.3 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.10.2 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.10.1 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.10.0 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.9.0 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.8.0 spec/properties/contextual_spacing_spec.rb
openxml-docx-0.8.0.beta1 spec/properties/contextual_spacing_spec.rb