Sha256: 3c178a50c78bb4a5d71a8c6344104160881d608273c3dc11c2263e4b793b343a
Contents?: true
Size: 481 Bytes
Versions: 18
Compression:
Stored size: 481 Bytes
Contents
require 'test_helper' class NotesTest < Minitest::Test include InvoicePrinterHelpers def test_setting_a_note params = default_document_params.merge( note: 'ABC is a registered trademark.' ) invoice = InvoicePrinter::Document.new(params) rendered_pdf = InvoicePrinter.render(document: invoice) pdf_analysis = PDF::Inspector::Text.analyze(rendered_pdf) assert_equal true, pdf_analysis.strings.include?('ABC is a registered trademark.') end end
Version data entries
18 entries across 18 versions & 1 rubygems