Sha256: a5cde238c58f9b87d1f747ac2c2cb927228aa09c4454940353c3c4fad12aefbd

Contents?: true

Size: 420 Bytes

Versions: 6

Compression:

Stored size: 420 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Elements::EmbedSystemFonts do
  include ElementTestMacros

  it_should_use tag: :embedSystemFonts, name: "embed_system_fonts"

  for_attribute(:value) do
    with_value(true) do
      it_should_assign_successfully
      it_should_output "<w:embedSystemFonts w:val=\"true\"/>"
    end

    with_value(:somethingElse) do
      it_should_raise_an_exception
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/elements/embed_system_fonts_spec.rb
openxml-docx-0.10.5 spec/elements/embed_system_fonts_spec.rb
openxml-docx-0.10.4 spec/elements/embed_system_fonts_spec.rb
openxml-docx-0.10.3 spec/elements/embed_system_fonts_spec.rb
openxml-docx-0.10.2 spec/elements/embed_system_fonts_spec.rb
openxml-docx-0.10.1 spec/elements/embed_system_fonts_spec.rb