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:
Maikel
2024-02-29 08:50:52 +11:00
committed by GitHub

View File

@@ -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