Sha256: af30deb7c50c2dc1c9fbe435c20a2597882cf9b6681a9d5304d2b9da99a4ad52

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::Italics do
  include ValuePropertyTestMacros

  it_should_use tag: :i, name: "italics"

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