spec/lib/pdf_generator_spec.rb in medivo-0.1.19 vs spec/lib/pdf_generator_spec.rb in medivo-0.1.20

- old
+ new

@@ -45,14 +45,14 @@ end end it "#variable_fields_with_images accepts image param and stamps image onto pdf" do path = medivo_fixture_path "uhc_requisition_cover_letter.pdf" - img_path = medivo_fixture_path "Southeast.jpg" + image_path = medivo_fixture_path "Southeast.jpg" pdf_file = Medivo::PdfGenerator.variable_fields_with_images( path, uhc_cover_letter_fields, - [{:path=> img_path, :options=>{:at=> [40, 100], :width=>180, :height=>28}}] + [{:path=> image_path, :options=>{:at=> [40, 100], :width=>180, :height=>28}}] ) show_me_the_pdf(pdf_file, '/tmp/test.pdf') text = pdf_to_text(pdf_file)