Sha256: 9fdad2f0190cd670ae53e49b0edac2e4afd849ec5f1a018c2e7a0dd497a7aab5

Contents?: true

Size: 422 Bytes

Versions: 9

Compression:

Stored size: 422 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :kinsoku, name: "kinsoku"

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

  with_value(:off) do
    it_should_work
    it_should_output "<w:kinsoku w:val=\"off\"/>"
  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/kinsoku_spec.rb
openxml-docx-0.10.4 spec/properties/kinsoku_spec.rb
openxml-docx-0.10.3 spec/properties/kinsoku_spec.rb
openxml-docx-0.10.2 spec/properties/kinsoku_spec.rb
openxml-docx-0.10.1 spec/properties/kinsoku_spec.rb
openxml-docx-0.10.0 spec/properties/kinsoku_spec.rb
openxml-docx-0.9.0 spec/properties/kinsoku_spec.rb
openxml-docx-0.8.0 spec/properties/kinsoku_spec.rb
openxml-docx-0.8.0.beta1 spec/properties/kinsoku_spec.rb