mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Merge pull request #12210 from abdellani/11673-redirect-will-no-longer-have-body
on redirect, the body will no longer include the target link
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