diff --git a/spec/system/admin/invoice_print_spec.rb b/spec/system/admin/invoice_print_spec.rb index e8d9ccfba8..9615fd7419 100644 --- a/spec/system/admin/invoice_print_spec.rb +++ b/spec/system/admin/invoice_print_spec.rb @@ -22,6 +22,7 @@ describe ' let(:order) do create(:order_with_totals_and_distribution, user:, distributor:, + completed_at: 1.day.ago, order_cycle:, state: 'complete', payment_state: 'balance_due') end