Sha256: c52d198b585fb012c3226933e0184567bc0159d75711fd9398d4e6fe710e65e0

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::SmallCaps do
  include ValuePropertyTestMacros

  it_should_use tag: :smallCaps, name: "small_caps"

  with_value(true) do
    it_should_work
    it_should_output "<w:smallCaps w:val=\"true\"/>"
  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/small_caps_spec.rb
rocx-0.6.0 spec/properties/small_caps_spec.rb
rocx-0.5.8 spec/properties/small_caps_spec.rb