mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Add spec for well known change password endpoint (#27856)
This commit is contained in:
parent
fe58ac8d9f
commit
12a5b7391d
11
spec/requests/well_known/change_password_spec.rb
Normal file
11
spec/requests/well_known/change_password_spec.rb
Normal 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
|
Loading…
Reference in New Issue
Block a user