Add spec for well known change password endpoint (#27856)
This commit is contained in:
parent
fe58ac8d9f
commit
12a5b7391d
|
@ -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
|
Loading…
Reference in New Issue