on redirect, the body will no longer include the target link

for more details:
c2e756a944
This commit is contained in:
Mohamed ABDELLANI
2024-02-27 19:18:49 +01:00
parent 0b93c1b92b
commit 091023baf7

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