Skip to content

Commit

Permalink
redict location is on headers["Location"] instead of body
Browse files Browse the repository at this point in the history
  • Loading branch information
abdellani committed Dec 29, 2023
1 parent 17d6b11 commit a5752c0
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 a5752c0

Please sign in to comment.