Sha256: e987f0669c559a4c4b463c7459424ee3405967b69af2d46b6e88a682afc3ca11

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :emboss, name: "emboss", value: true

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

  with_value(false) do
    it_should_work
    it_should_output "<w:emboss 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/emboss_spec.rb