Add spec for well known change password endpoint (#27856)

shrike
Matt Jankowski 2023-11-15 08:21:18 -05:00 committed by GitHub
parent fe58ac8d9f
commit 12a5b7391d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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