Sha256: 7602ffb3e64cfe4cfa4bb05833ed67376aaee72f962594a7d98554888f7be3fb
Contents?: true
Size: 443 Bytes
Versions: 9
Compression:
Stored size: 443 Bytes
Contents
require 'test_helper' class InvoicePrinterTest < Minitest::Test include InvoicePrinterHelpers def test_render_document invoice = InvoicePrinter::Document.new(default_document_params) rendered_pdf = InvoicePrinter.render(document: invoice) pdf_analysis = PDF::Inspector::Text.analyze(rendered_pdf) strings = InvoicePrinter::PDFDocument.new(document: invoice).to_a assert_equal strings, pdf_analysis.strings end end
Version data entries
9 entries across 9 versions & 1 rubygems