Say I have the following method:
def run
transaction do
mark_non_eligible
make_invoice_batch
send_batch_email
end
end
How can I test that with rspec's mocks?
Joe
--
You received this message because you are subscribed to the Google Groups
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rspec/d92e004f-a3b2-44dc-9cd7-9549b29e0c3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.