Sha256: bfe3f0a6b1c85bccef018b2a77cae87604e1acea163e87aed0ec7c17dae5b9b5
Contents?: true
Size: 857 Bytes
Versions: 1
Compression:
Stored size: 857 Bytes
Contents
require 'spec_helper' module Mork describe SheetPDF do it "should create a basic pdf" do info = { code: 18446744073709551615, choices: [5] * 100, header: { name: "Bertini Giuseppe VR123456", title: "Esame di Fondamenti Morfologici e Funzionali della Vita", code: "119.27", date: "18 gennaio 2013" } } s = SheetPDF.new(Grid.new(:default), info) s.save("tmp/f1.pdf") info = { code: 283764283738, choices: [5] * 100, header: { name: "Francesco Gagliardi VR765432", title: "Esame di Fondamenti Morfologici e Funzionali della Vita", code: "119.28", date: "18 gennaio 2013" } } s = SheetPDF.new(Grid.new(:default), info) s.save("tmp/f2.pdf") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mork-0.0.2 | spec/mork/sheet_pdf_spec.rb |