Sha256: e58c390269c9da6fd5109531c88e855b2319c3372394a029b3c00d820b065832

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::DoubleStrikethrough do
  include ValuePropertyTestMacros

  it_should_use tag: :dstrike, name: "double_strikethrough"

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