mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Merge branch '2-0-stable' into 2-0-admin-capture-payment
* 2-0-stable: Perform delivery when checking deliveries in specs
This commit is contained in:
@@ -68,9 +68,11 @@ describe UserConfirmationsController, type: :controller do
|
||||
end
|
||||
|
||||
it "sends the confirmation email" do
|
||||
expect do
|
||||
spree_post :create, { spree_user: { email: unconfirmed_user.email } }
|
||||
end.to send_confirmation_instructions
|
||||
performing_deliveries do
|
||||
expect do
|
||||
spree_post :create, { spree_user: { email: unconfirmed_user.email } }
|
||||
end.to send_confirmation_instructions
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user