mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Making sure bill > 0 for finalize account invoice spec
This commit is contained in:
@@ -184,6 +184,11 @@ describe FinalizeAccountInvoices do
|
||||
Spree::Config.set({ accounts_distributor_id: accounts_distributor.id })
|
||||
Spree::Config.set({ default_accounts_payment_method_id: pm.id })
|
||||
Spree::Config.set({ default_accounts_shipping_method_id: sm.id })
|
||||
|
||||
# Make sure that bills are > 0
|
||||
Spree::Config.set(:account_invoices_monthly_fixed, 5)
|
||||
Spree::Config.set(:account_invoices_monthly_rate, 0.02)
|
||||
Spree::Config.set(:account_invoices_monthly_cap, 50)
|
||||
end
|
||||
|
||||
context "finalizing an invoice" do
|
||||
|
||||
Reference in New Issue
Block a user