mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-09 03:20:21 +00:00
on redirect, the body will no longer include the target link
for more details:
c2e756a944
This commit is contained in:
@@ -55,7 +55,7 @@ describe UserConfirmationsController, type: :controller do
|
||||
unconfirmed_user.save!
|
||||
spree_get :show, confirmation_token: unconfirmed_user.confirmation_token
|
||||
expect(response).to be_redirect
|
||||
expect(response.body).to include spree.edit_spree_user_password_path
|
||||
expect(response.headers["Location"]).to include spree.edit_spree_user_password_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user