Sha256: 5db72fad0e3375adc33ce91242274a14a11212f61455f20f775aae9cd2fa23dc
Contents?: true
Size: 568 Bytes
Versions: 3
Compression:
Stored size: 568 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") describe 'FormCollection' do it 'should be initialized without errors' do opts = {:data => [{:full_name => 'Wes Hays'}, {:full_name => 'Darren Johnson'}], :template => File.expand_path(File.dirname(__FILE__) + '/../templates/certificate_template.pdf'), :dir => File.expand_path(File.dirname(__FILE__) + '/../output/'), :file_name => 'people.pdf'} ff = PdfFiller(opts) File.exist?([opts[:dir], opts[:file_name]].join('/')).should be_true end end
Version data entries
3 entries across 3 versions & 1 rubygems