Enable "zero monkey patching" mode in RSpec (#31614)

This commit is contained in:
Matt Jankowski 2024-09-04 01:12:25 -04:00 committed by GitHub
parent c9ea91f868
commit f1003b2560
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
439 changed files with 441 additions and 439 deletions

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe 'The /.well-known/change-password request' do
RSpec.describe 'The /.well-known/change-password request' do
it 'redirects to the change password page' do
get '/.well-known/change-password'

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe 'The /.well-known/host-meta request' do
RSpec.describe 'The /.well-known/host-meta request' do
it 'returns http success with valid XML response' do
get '/.well-known/host-meta'

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe 'The well-known node-info endpoints' do
RSpec.describe 'The well-known node-info endpoints' do
describe 'The /.well-known/node-info endpoint' do
it 'returns JSON document pointing to node info' do
get '/.well-known/nodeinfo'

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe 'The /.well-known/oauth-authorization-server request' do
RSpec.describe 'The /.well-known/oauth-authorization-server request' do
let(:protocol) { ENV.fetch('LOCAL_HTTPS', true) ? :https : :http }
before do

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe 'The /.well-known/webfinger endpoint' do
RSpec.describe 'The /.well-known/webfinger endpoint' do
subject(:perform_request!) { get webfinger_url(resource: resource) }
let(:alternate_domains) { [] }