Sha256: 5caabe0cae5c7b73a7fe66f2dc279d0fcf2d308c303dba3f11e4c82586493f53

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

require "spec_helper"

describe Rocx::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

3 entries across 3 versions & 1 rubygems

Version Path
rocx-0.7.0 spec/properties/kinsoku_spec.rb
rocx-0.6.0 spec/properties/kinsoku_spec.rb
rocx-0.5.8 spec/properties/kinsoku_spec.rb