Sha256: fa4f1ca8640527bfe3f107b39f4e3b232852f108a65d710a5ea53c660025fb18

Contents?: true

Size: 416 Bytes

Versions: 6

Compression:

Stored size: 416 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :saveSubsetFonts, name: "save_subset_fonts"

  for_attribute(:value) do
    with_value(true) do
      it_should_assign_successfully
      it_should_output "<w:saveSubsetFonts 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/save_subset_fonts_spec.rb
openxml-docx-0.10.5 spec/elements/save_subset_fonts_spec.rb
openxml-docx-0.10.4 spec/elements/save_subset_fonts_spec.rb
openxml-docx-0.10.3 spec/elements/save_subset_fonts_spec.rb
openxml-docx-0.10.2 spec/elements/save_subset_fonts_spec.rb
openxml-docx-0.10.1 spec/elements/save_subset_fonts_spec.rb