Sha256: d07476e0fc07c0745535c5763a568bc0bd6a1730fe9515fa65177728ed7044e8

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::Bold do
  include ValuePropertyTestMacros

  it_should_use tag: :b, name: "bold"

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