tootlab-mastodon/spec/requests/well_known/change_password_spec.rb

12 lines
257 B
Ruby

# 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