mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Simplify spec of invoice creation
This commit is contained in:
@@ -17,8 +17,7 @@ describe BulkInvoiceService do
|
||||
order.bill_address = order.ship_address
|
||||
order.save!
|
||||
|
||||
service.start_pdf_job([order.id])
|
||||
Delayed::Job.last.invoke_job
|
||||
service.start_pdf_job_without_delay([order.id])
|
||||
|
||||
expect(service.invoice_created?(service.id)).to be_truthy
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user