From 12a5b7391d0298a99b94386538fe4ca625cea7e9 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 15 Nov 2023 08:21:18 -0500 Subject: [PATCH] Add spec for well known change password endpoint (#27856) --- spec/requests/well_known/change_password_spec.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 spec/requests/well_known/change_password_spec.rb diff --git a/spec/requests/well_known/change_password_spec.rb b/spec/requests/well_known/change_password_spec.rb new file mode 100644 index 00000000000..04134b71ff5 --- /dev/null +++ b/spec/requests/well_known/change_password_spec.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +require 'rails_helper' + +describe 'The /.well-known/change-password request' do + it 'redirects to the change password page' do + get '/.well-known/change-password' + + expect(response).to redirect_to '/auth/edit' + end +end