mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-25 05:45:15 +00:00
Cleanse JS errors from DOM on Stripe failure
This commit is contained in:
@@ -62,6 +62,7 @@ describe '
|
||||
click_button "Update"
|
||||
expect(page).to have_content "Payments"
|
||||
expect(page).to have_content "Payment has been successfully created!"
|
||||
expect(page).not_to have_content "[object Object]true"
|
||||
|
||||
order.reload
|
||||
expect(order.state).to eq "complete"
|
||||
|
||||
Reference in New Issue
Block a user