Add test to check if job works

This commit is contained in:
Alex Sherman 2020-02-04 16:20:07 +05:00
parent 2663c550fa
commit 47e601f3cd
3 changed files with 49 additions and 8 deletions

View file

@ -100,8 +100,7 @@ class Registrar < ApplicationRecord
]
)
e_invoice = invoice.to_e_invoice
e_invoice.deliver
SendEInvoiceJob.enqueue(invoice)
invoice
end