Enable "zero monkey patching" mode in RSpec (#31614)
This commit is contained in:
parent
c9ea91f868
commit
f1003b2560
439 changed files with 441 additions and 439 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'rails_helper'
|
||||
|
||||
describe 'Routes under accounts/' do
|
||||
RSpec.describe 'Routes under accounts/' do
|
||||
context 'with local username' do
|
||||
let(:username) { 'alice' }
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'rails_helper'
|
||||
|
||||
describe 'API routes' do
|
||||
RSpec.describe 'API routes' do
|
||||
describe 'Credentials routes' do
|
||||
it 'routes to verify credentials' do
|
||||
expect(get('/api/v1/accounts/verify_credentials'))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'rails_helper'
|
||||
|
||||
describe 'Well Known routes' do
|
||||
RSpec.describe 'Well Known routes' do
|
||||
describe 'the host-meta route' do
|
||||
it 'routes to correct place with xml format' do
|
||||
expect(get('/.well-known/host-meta'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue