Sha256: cbcbdfe125a492a6624a91fb24a0747b45c189f5c0f9db0da063fce4e07be9e4

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::SupressLineNumbers do
  include ValuePropertyTestMacros

  it_should_use tag: :supressLineNumbers, name: "supress_line_numbers"

  with_value(true) do
    it_should_work
    it_should_output "<w:supressLineNumbers/>"
  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/supress_line_numbers_spec.rb
rocx-0.6.0 spec/properties/supress_line_numbers_spec.rb
rocx-0.5.8 spec/properties/supress_line_numbers_spec.rb