mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-06 02:51:34 +00:00
Restore required expectation
It is the whole purpose of the spec.
This commit is contained in:
@@ -186,6 +186,7 @@ module Reporting
|
||||
let!(:line_item) { create(:line_item, order: order) }
|
||||
|
||||
it 'calls #new_outstanding_balance' do
|
||||
expect_any_instance_of(Spree::Order).to receive(:new_outstanding_balance)
|
||||
CustomerPayments.new(user).__send__(:customer_payments_amount_owed, [line_item])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user