Sha256: d259086309204a30c40a1289b8069f93adc741db3ad9fa4a04779062f8f61418

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::Italics do
  include ValuePropertyTestMacros

  it_should_use tag: :i, name: "italics", value: true

  with_value(true) do
    it_should_work
    it_should_output "<w:i/>"
  end

  with_value(false) do
    it_should_work
    it_should_output "<w:i w:val=\"false\"/>"
  end

  with_value(nil) do
    it_should_not_work
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/italics_spec.rb