mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #11080 from rioug/fix-bulk-order-cancelation-spec
Fix bulk order cancellation test
This commit is contained in:
@@ -554,6 +554,7 @@ distributors: [distributor4, distributor5]) }
|
||||
expect(page).to have_content "This will cancel the current order."
|
||||
|
||||
within ".reveal-modal" do
|
||||
uncheck "Send a cancellation email to the customer"
|
||||
expect {
|
||||
find_button("Cancel").click # Cancels the cancel action
|
||||
}.to_not enqueue_job(ActionMailer::MailDeliveryJob).exactly(:twice)
|
||||
|
||||
Reference in New Issue
Block a user