spec/lib/pdf_generator_spec.rb in medivo-0.1.12 vs spec/lib/pdf_generator_spec.rb in medivo-0.1.13

- old
+ new

@@ -49,10 +49,10 @@ path = medivo_fixture_path "uhc_requisition_cover_letter.pdf" img_path = medivo_fixture_path "Southeast.jpg" pdf_file = Medivo::PdfGenerator.variable_fields_with_images( path, {:director_name=>md}, - [{:path=> img_path, :at=> [30, 120]}] + [{:path=> img_path, :options=>{:at=> [40, 100], :width=>170, :height=>40}}] ) show_me_the_pdf(pdf_file, '/tmp/test.pdf') text = pdf_to_text(pdf_file) text.should match "Catherine E. Palmier, M.D." pdf_file.unlink