Skip to content

Commit

Permalink
on redirect, the body will no longer include the target link
Browse files Browse the repository at this point in the history
for more details:
rails/rails@c2e756a
  • Loading branch information
abdellani committed Feb 27, 2024
1 parent 0b93c1b commit 091023b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/user_confirmations_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
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
Expand Down

0 comments on commit 091023b

Please sign in to comment.