Sha256: acc35e0386507c79d98c6b7bbe1a6392e67d016b4699d3cd343ef62599a69e5d

Contents?: true

Size: 403 Bytes

Versions: 3

Compression:

Stored size: 403 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::Strikethrough do
  include ValuePropertyTestMacros

  it_should_use tag: :strike, name: "strikethrough"

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