Skip to content

Commit

Permalink
Fix flakiness of test (specify str instead of lorem ipsum)
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl committed Oct 25, 2024
1 parent e6e0ad5 commit 4c67782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/asp/payment_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
end

context "when the payment request is in 'unpaid' state without a RIB reason" do
let(:p_r) { create(:asp_payment_request, :unpaid) }
let(:p_r) { create(:asp_payment_request, :unpaid, reason: "Blabla") }

it "returns false" do
expect(p_r.eligible_for_rejected_or_unpaid_auto_retry?).to be false
Expand Down

0 comments on commit 4c67782

Please sign in to comment.