diff --git a/spec/controllers/user_confirmations_controller_spec.rb b/spec/controllers/user_confirmations_controller_spec.rb index 40be9eebb16..dd4897c4e11 100644 --- a/spec/controllers/user_confirmations_controller_spec.rb +++ b/spec/controllers/user_confirmations_controller_spec.rb @@ -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