Sha256: 631f9d6e12b012570146ccc8ed7b325a398b1616344d51a12b6dcfa52561a630

Contents?: true

Size: 385 Bytes

Versions: 3

Compression:

Stored size: 385 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::KeepLines do
  include ValuePropertyTestMacros

  it_should_use tag: :keepLines, name: "keep_lines"

  with_value(true) do
    it_should_work
    it_should_output "<w:keepLines/>"
  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

3 entries across 3 versions & 1 rubygems

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