fix linter issue

This commit is contained in:
Mohamed ABDELLANI
2023-10-11 10:55:14 +01:00
parent c750602b52
commit 1c2aa1c370
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ describe '
order.payments << create(:payment, :completed, order:,
payment_method: payment_method1,
created_at: 1.day.ago)
order.payments << create(:payment, order: order, state: 'failed',
order.payments << create(:payment, order:, state: 'failed',
payment_method: payment_method2,
created_at: 2.days.ago)
order.save!