Sha256: 364977e6e9978d8263c0de7635a6e1d7c5fa9d891739e2cb694260e8e4eb5f7c

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::Imprint do
  include ValuePropertyTestMacros

  it_should_use tag: :imprint, name: "imprint"

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