Sha256: f2ec7405d78fbea38a835112af2d8f00b05adc508cfba37572d2fcfe575f3c4e

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Parts::Settings do
  include PartTestMacros

  context "always" do
    before(:each) do
      @doc = described_class.new
      booklet_printing = OpenXml::Docx::Elements::BookFoldPrinting.new
      booklet_printing.value = true
      @doc << booklet_printing
      booklet_pagecount = OpenXml::Docx::Elements::BookFoldPrintingSheets.new
      booklet_pagecount.value = 4
      @doc << booklet_pagecount
    end

    it_should_output_correct_xml
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/parts/settings_spec.rb
openxml-docx-0.10.5 spec/parts/settings_spec.rb
openxml-docx-0.10.4 spec/parts/settings_spec.rb
openxml-docx-0.10.3 spec/parts/settings_spec.rb
openxml-docx-0.10.2 spec/parts/settings_spec.rb
openxml-docx-0.10.1 spec/parts/settings_spec.rb